Documentation ¶
Index ¶
- func FAST_DIV32_10(x uint32) uint32
- func FAST_DIV32_3(x uint32) uint32
- func FAST_REM32_10(x uint32) uint32
- func MAX(x, y int) int
- func MIN(x, y int) int
- func New32() hash.Hash32
- func New32WithSeed(seed uint32) hash.Hash32
- func Sum32(data []byte) uint32
- func Sum32WithSeed(data []byte, seed uint32) uint32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FAST_DIV32_10 ¶
func FAST_DIV32_3 ¶
func FAST_REM32_10 ¶
func New32WithSeed ¶
New32WithSeed returns new 32-bit hasher set with explicit seed value
func Sum32 ¶
Sum32 returns the MurmurHash3 sum of data. It is equivalent to the following sequence (without the extra burden and the extra allocation):
hasher := New32() hasher.Write(data) return hasher.Sum32()
func Sum32WithSeed ¶
Sum32WithSeed returns the MurmurHash3 sum of data. It is equivalent to the following sequence (without the extra burden and the extra allocation):
hasher := New32WithSeed(seed) hasher.Write(data) return hasher.Sum32()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.