Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New64WithSeed ¶
New64WithSeed returns a 64-bit hasher set with explicit seed value
func Sum128 ¶
Sum128 returns the MurmurHash3 sum of data. It is equivalent to the following sequence (without the extra burden and the extra allocation):
hasher := New128() hasher.Write(data) return hasher.Sum128()
func Sum128WithSeed ¶
Sum128WithSeed returns the MurmurHash3 sum of data. It is equivalent to the following sequence (without the extra burden and the extra allocation):
hasher := New128WithSeed(seed) hasher.Write(data) return hasher.Sum128()
func Sum64 ¶
Sum64 returns the MurmurHash3 sum of data. It is equivalent to the following sequence (without the extra burden and the extra allocation):
hasher := New64() hasher.Write(data) return hasher.Sum64()
func Sum64WithSeed ¶
Sum64WithSeed returns the MurmurHash3 sum of data. It is equivalent to the following sequence (without the extra burden and the extra allocation):
hasher := New64WithSeed(seed) hasher.Write(data) return hasher.Sum64()
Types ¶
type Hash128 ¶
Hash128 represents a 128-bit hasher Hack: the standard api doesn't define any Hash128 interface.
func New128WithSeed ¶
New128WithSeed returns a 128-bit hasher set with explicit seed value