package
Version:
v1.8.0
Opens a new window with list of versions in this module.
Published: Jan 12, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
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.WriteType(data)
return hasher.Sum128()
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.WriteType(data)
return hasher.Sum32()
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.WriteType(data)
return hasher.Sum64()
Hack: the standard api doesn't define any Hash128 interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.