hasher

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsistentUint64

func ConsistentUint64(key uint64, numBuckets int) int

Jump consistent hashing. Requires an integer key and the number of buckets available. It returns a integer to indicate the bucket to which this key belongs to

func MurmurToUint64

func MurmurToUint64(s []byte) uint64

Use Murmur3 hash algorithm to hash bytes into an uint64

Types

This section is empty.

Jump to

Keyboard shortcuts

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