Lines Matching refs:hash
44 uint32_t SuperFastHash(const char *data, int len, uint32_t hash) in SuperFastHash() argument
57 hash += get16bits(data); in SuperFastHash()
58 tmp = (get16bits(data + 2) << 11) ^ hash; in SuperFastHash()
59 hash = (hash << 16) ^ tmp; in SuperFastHash()
61 hash += hash >> 11; in SuperFastHash()
67 hash += get16bits(data); in SuperFastHash()
68 hash ^= hash << 16; in SuperFastHash()
69 hash ^= ((signed char)data[sizeof(uint16_t)]) << 18; in SuperFastHash()
70 hash += hash >> 11; in SuperFastHash()
73 hash += get16bits(data); in SuperFastHash()
74 hash ^= hash << 11; in SuperFastHash()
75 hash += hash >> 17; in SuperFastHash()
78 hash += (signed char)*data; in SuperFastHash()
79 hash ^= hash << 10; in SuperFastHash()
80 hash += hash >> 1; in SuperFastHash()
84 hash ^= hash << 3; in SuperFastHash()
85 hash += hash >> 5; in SuperFastHash()
86 hash ^= hash << 4; in SuperFastHash()
87 hash += hash >> 17; in SuperFastHash()
88 hash ^= hash << 25; in SuperFastHash()
89 hash += hash >> 6; in SuperFastHash()
91 return hash; in SuperFastHash()