hash

package
v6.1.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Legacy

func Legacy(key []byte, seed uint32) uint32

Legacy calculates the bucket for the key and seed provided using the legacy algorithm

func Murmur3_32

func Murmur3_32(data []byte, seed uint32) uint32

Murmur3_32 returns the 32 bit hash of data given the seed. This is code is what I started with before I added the hash.Hash and hash.Hash32 interfaces.

Types

This section is empty.

Jump to

Keyboard shortcuts

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