Lines Matching refs:hash
30 hash_t JenkinsHashWhiten(uint32_t hash) { in JenkinsHashWhiten() argument
31 hash += (hash << 3); in JenkinsHashWhiten()
32 hash ^= (hash >> 11); in JenkinsHashWhiten()
33 hash += (hash << 15); in JenkinsHashWhiten()
34 return hash; in JenkinsHashWhiten()
37 uint32_t JenkinsHashMixBytes(uint32_t hash, const uint8_t* bytes, size_t size) { in JenkinsHashMixBytes() argument
41 hash = JenkinsHashMix(hash, (uint32_t)size); in JenkinsHashMixBytes()
45 hash = JenkinsHashMix(hash, data); in JenkinsHashMixBytes()
51 hash = JenkinsHashMix(hash, data); in JenkinsHashMixBytes()
53 return hash; in JenkinsHashMixBytes()
56 uint32_t JenkinsHashMixShorts(uint32_t hash, const uint16_t* shorts, size_t size) { in JenkinsHashMixShorts() argument
60 hash = JenkinsHashMix(hash, (uint32_t)size); in JenkinsHashMixShorts()
64 hash = JenkinsHashMix(hash, data); in JenkinsHashMixShorts()
68 hash = JenkinsHashMix(hash, data); in JenkinsHashMixShorts()
70 return hash; in JenkinsHashMixShorts()