sizeof


Purpose:

This program is provided as a convenience for programmers and developers to verify that data is being represented correctly in the AIR package. It also prints the AIR version and compile time configuration of AIR.


Usage:

sizeof


Examples:

sizeof

Sizes of variables on this machine (corresponding size in development environment):

        struct AIR_Key_info 40 (40)
        struct AIR_Air16 720 (720)
        struct AIR_Oldair 688 (688)
        struct AIR_Field 600 (600)
        struct AIR_Warp 608 (608)
        struct AIR_Air168 2384 (2384)
        struct AIR_hdr 348 (348)
        AIR_Pixels 2 (1 or 2)

        short int 2 (2)
        int 4 (4)
        long int 4 (4)
        unsigned short int 2 (2)
        unsigned int 4 (4)
        unsigned long int 4 (4)
        char 1 (1)
        unsigned char 1 (1)
        float 4 (4)
        double 8 (8)

The maximum value for an unsigned long int is 4294967295

This is AIR version 5.1

Compile time options from AIR.h:
AIR_CONFIG_AUTO_BYTESWAP 1
AIR_CONFIG_COMPRESSED_SUFFIX .gz
AIR_CONFIG_DECOMPRESS 1
AIR_CONFIG_DECOMPRESS_COMMAND gunzip -c 
AIR_CONFIG_GROUPS 1
AIR_CONFIG_HDR_SUFF .hdr
AIR_CONFIG_IMG_SUFF .img
AIR_CONFIG_PIPES 1
AIR_CONFIG_MAX_POSS_VALUE 65535
AIR_CONFIG_OUTBITS 16
AIR_CONFIG_PATHS 1
AIR_CONFIG_PIX_SIZE_ERR 1.000000e-04
AIR_CONFIG_REP16 2
AIR_CONFIG_REQ_PERMS 1
AIR_CONFIG_THRESHOLD1 7000
AIR_CONFIG_THRESHOLD2 7000
AIR_CONFIG_VERBOSITY 0

Decompression command: gunzip -c filename.img.gz > filename.img


Comments:


Modified: July 21, 2002

© 1995-2002 Roger P. Woods, M.D.(rwoods@ucla.edu)