Lines Matching full:hash
43 uint32_t SuperFastHash (const char * data, int len, uint32_t hash) { in SuperFastHash() argument
54 hash += get16bits (data); in SuperFastHash()
55 tmp = (get16bits (data+2) << 11) ^ hash; in SuperFastHash()
56 hash = (hash << 16) ^ tmp; in SuperFastHash()
58 hash += hash >> 11; in SuperFastHash()
63 case 3: hash += get16bits (data); in SuperFastHash()
64 hash ^= hash << 16; in SuperFastHash()
65 hash ^= ((signed char)data[sizeof (uint16_t)]) << 18; in SuperFastHash()
66 hash += hash >> 11; in SuperFastHash()
68 case 2: hash += get16bits (data); in SuperFastHash()
69 hash ^= hash << 11; in SuperFastHash()
70 hash += hash >> 17; in SuperFastHash()
72 case 1: hash += (signed char)*data; in SuperFastHash()
73 hash ^= hash << 10; in SuperFastHash()
74 hash += hash >> 1; in SuperFastHash()
78 hash ^= hash << 3; in SuperFastHash()
79 hash += hash >> 5; in SuperFastHash()
80 hash ^= hash << 4; in SuperFastHash()
81 hash += hash >> 17; in SuperFastHash()
82 hash ^= hash << 25; in SuperFastHash()
83 hash += hash >> 6; in SuperFastHash()
85 return hash; in SuperFastHash()