pike.git / src / stuff.c

version» Context lines:

pike.git/src/stuff.c:22:    "1111111111100000"    "0000000000000000"    "0000000000000000"    "1011110101100010"    "1011011001101110"    "1111111111111111"    "1111111011111111"    "1111111111111111"    "1111111011111111";    - PMOD_EXPORT const unsigned char hexdecode[256] = - { -  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, -  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, -  -  /* '0' - '9' */ -  0, 1, 2, 3, 4, 5, 6, 7, 8, 9, -  -  16,16,16,16,16,16,16, -  -  /* 'A' - 'F' */ -  10, 11, 12, 13, 14, 15, -  -  16,16,16,16,16,16,16,16,16,16,16,16,16, -  16,16,16,16,16,16,16,16,16,16,16,16,16, -  -  /* 'a' - 'f' */ -  10, 11, 12, 13, 14, 15, -  -  16,16,16,16,16,16,16,16,16, -  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, -  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, -  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, -  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, -  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, -  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, -  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, -  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, -  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, - }; -  +    /* Not all of these are primes, but they should be adequate */   const INT32 hashprimes[32] =   {    31, /* ~ 2^0 = 1 */    31, /* ~ 2^1 = 2 */    31, /* ~ 2^2 = 4 */    31, /* ~ 2^3 = 8 */    31, /* ~ 2^4 = 16 */    31, /* ~ 2^5 = 32 */    61, /* ~ 2^6 = 64 */