- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for memhash64Fallback (0.17 sec)
-
src/runtime/hash32.go
a, b := mix32(uint32(seed), uint32(4^hashkey[0])) t := readUnaligned32(p) a ^= t b ^= t a, b = mix32(a, b) a, b = mix32(a, b) return uintptr(a ^ b) } func memhash64Fallback(p unsafe.Pointer, seed uintptr) uintptr { a, b := mix32(uint32(seed), uint32(8^hashkey[0])) a ^= readUnaligned32(p) b ^= readUnaligned32(add(p, 4)) a, b = mix32(a, b) a, b = mix32(a, b) return uintptr(a ^ b)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.6K bytes - Viewed (0) -
src/runtime/hash64.go
} return mix(m5^s, mix(a^hashkey[1], b^seed)) } func memhash32Fallback(p unsafe.Pointer, seed uintptr) uintptr { a := r4(p) return mix(m5^4, mix(a^hashkey[1], a^seed^hashkey[0])) } func memhash64Fallback(p unsafe.Pointer, seed uintptr) uintptr { a := r8(p) return mix(m5^8, mix(a^hashkey[1], a^seed^hashkey[0])) } func mix(a, b uintptr) uintptr { hi, lo := math.Mul64(uint64(a), uint64(b))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 17:39:28 UTC 2024 - 1.9K bytes - Viewed (0)