Home | History | Annotate | Download | only in private

Lines Matching refs:hash

18      * uint32_t -> uint32_t hash, useful for when you're about to trucate this hash but you
23 static uint32_t Mix(uint32_t hash) {
24 hash ^= hash >> 16;
25 hash *= 0x85ebca6b;
26 hash ^= hash >> 13;
27 hash *= 0xc2b2ae35;
28 hash ^= hash >> 16;
29 return hash;
33 * uint32_t -> uint32_t hash, useful for when you're about to trucate this hash but you
38 static uint32_t CheapMix(uint32_t hash) {
39 hash ^= hash >> 16;
40 hash *= 0x85ebca6b;
41 hash ^= hash >> 16;
42 return hash;
46 * Calculate 32-bit Murmur hash (murmur3).
51 * @param seed Initial hash seed. (optional)
52 * @return hash result