Searched refs:HASH_SHIFT (Results 1 – 2 of 2) sorted by relevance
26 #define HASH_SHIFT 5 macro88 h->val = (((h->val) << HASH_SHIFT) ^ (c)) & HASH_MASK; in UpdateHashValue()
1336 static const unsigned HASH_SHIFT = 2; variable1390 result ^= (data[pos + 0] << (0 * HASH_SHIFT)); in getHash()1391 result ^= (data[pos + 1] << (1 * HASH_SHIFT)); in getHash()1392 result ^= (data[pos + 2] << (2 * HASH_SHIFT)); in getHash()1398 for(i = 0; i < amount; i++) result ^= (data[pos + i] << (i * HASH_SHIFT)); in getHash()