Home | History | Annotate | Download | only in utils

Lines Matching refs:hash

17 /* Implementation of Jenkins one-at-a-time hash function. These choices are
29 /* The Jenkins hash of a sequence of 32 bit words A, B, C is:
32 inline uint32_t JenkinsHashMix(uint32_t hash, uint32_t data) {
33 hash += data;
34 hash += (hash << 10);
35 hash ^= (hash >> 6);
36 return hash;
39 hash_t JenkinsHashWhiten(uint32_t hash);
42 uint32_t JenkinsHashMixBytes(uint32_t hash, const uint8_t* bytes, size_t size);
44 uint32_t JenkinsHashMixShorts(uint32_t hash, const uint16_t* shorts, size_t size);