Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetroHash64String ¶
MetroHash64String 计算字符串的 MetroHash64
Types ¶
type MetroHasher ¶
type MetroHasher struct {
// contains filtered or unexported fields
}
MetroHasher MetroHash64 哈希器
func NewMetroHasherWithSeed ¶
func NewMetroHasherWithSeed(seed uint64) *MetroHasher
NewMetroHasherWithSeed 创建带种子的 MetroHash64 哈希器
func (*MetroHasher) Sum64 ¶
func (h *MetroHasher) Sum64(data []byte) uint64
Sum64 计算 MetroHash64 哈希值
Click to show internal directories.
Click to hide internal directories.