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:
35 inline uint32_t JenkinsHashMix(uint32_t hash, uint32_t data) {
36 hash += data;
37 hash += (hash << 10);
38 hash ^= (hash >> 6);
39 return hash;
42 hash_t JenkinsHashWhiten(uint32_t hash);
45 uint32_t JenkinsHashMixBytes(uint32_t hash, const uint8_t* bytes, size_t size);
47 uint32_t JenkinsHashMixShorts(uint32_t hash, const uint16_t* shorts, size_t size);