hasher

package
v0.0.0-...-d13496a Latest Latest
Warning

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

Go to latest
Published: May 13, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Algorithm

type Algorithm int
const (
	Fnv Algorithm = iota
	Murmur
)

func (Algorithm) GetBaseHash

func (a Algorithm) GetBaseHash(items ...[]byte) BaseHash

type BaseHash

type BaseHash [2]uint64

func (BaseHash) First

func (b BaseHash) First() uint64

func (BaseHash) Second

func (b BaseHash) Second() uint64

func (BaseHash) Transform

func (b BaseHash) Transform(bound, N uint64) []uint64

Jump to

Keyboard shortcuts

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