Documentation ¶
Overview ¶
Package inthash is integer hashing functions
Taken from
https://web.archive.org/web/20120720045250/http://www.cris.com/~Ttwang/tech/inthash.htm http://burtleburtle.net/bob/hash/integer.html
Index ¶
- func Chrome64(key uint64) uint64
- func Hash32(key uint32) uint32
- func Hash64(key uint64) uint64
- func Hash64Inv(key uint64) uint64
- func Jenkins32(a uint32) uint32
- func Jenkins96(a, b, c uint32) uint32
- func JenkinsShift32(a uint32) uint32
- func LecuyerPanneton32(y uint32) uint32
- func Lowbias32(x uint32) uint32
- func Lowbias32_r(x uint32) uint32
- func Murmur3_64_Finalizer(key uint64) uint64
- func Rrxmrrxmsx_0(v uint64) uint64
- func Triple32(x uint32) uint32
- func Xorshift32(y uint32) uint32
- func XorshiftMult64(x uint64) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Chrome64 ¶
https://chromium.googlesource.com/chromium/blink/+/master/Source/wtf/HashFunctions.h#78
func Jenkins96 ¶
Jenkins96 is Robert Jenkins' 96-bit integer hash function, mixing three uint32s into a single uint32 value.
func JenkinsShift32 ¶
func LecuyerPanneton32 ¶
func Murmur3_64_Finalizer ¶
func Rrxmrrxmsx_0 ¶
http://mostlymangling.blogspot.com/2019/01/better-stronger-mixer-and-test-procedure.html
func XorshiftMult64 ¶
64-bit xorshift multiply rng from http://vigna.di.unimi.it/ftp/papers/xorshift.pdf
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.