murmur3

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New64

func New64() hash.Hash64

New64 returns a Murmur3 64-bit hash function that implements the hash.Hash64 interface with a default seed value of zero.

func New64WithSeed

func New64WithSeed(seed uint64) hash.Hash64

New64WithSeed returns a Murmur3 64-bit hash function that implements the hash.Hash64 interface with a specified seed value.

Types

type Hash128

type Hash128 interface {
	hash.Hash
	Sum128() [2]uint64
}

Hash128 reflects a 128-bit hash interface

func New128

func New128() Hash128

New128 returns a Murmur3 128-bit hash function that implements the Hash128 interface with a default seed value of zero.

func New128WithSeed

func New128WithSeed(seed uint64) Hash128

New128WithSeed returns a Murmur3 128-bit hash function that implements the Hash128 interface with a specified seed value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL