27 #define BITBUF_SIZE 4096 29 #define BITNUM (sizeof(uint8)*8) 31 #define DATANUM (sizeof(uint32)*8) 60 {0, 1, 3, 7, 15, 31, 63, 127, 255}
67 const uint32
maskl[33]
71 0x00000001, 0x00000003, 0x00000007, 0x0000000f,
72 0x0000001f, 0x0000003f, 0x0000007f, 0x000000ff,
73 0x000001ff, 0x000003ff, 0x000007ff, 0x00000fff,
74 0x00001fff, 0x00003fff, 0x00007fff, 0x0000ffff,
75 0x0001ffff, 0x0003ffff, 0x0007ffff, 0x000fffff,
76 0x001fffff, 0x003fffff, 0x007fffff, 0x00ffffff,
77 0x01ffffff, 0x03ffffff, 0x07ffffff, 0x0fffffff,
78 0x1fffffff, 0x3fffffff, 0x7fffffff, 0xffffffffUL}
83 #define Hputbit(bitid,bit) ((Hbitwrite(bitid,1,(uint32)bit)==FAIL) ? FAIL : SUCCEED)