farm

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fingerprint128

func Fingerprint128(s []byte) (lo, hi uint64)

Fingerprint128 is a 128-bit fingerprint function for byte-slices

func Fingerprint32

func Fingerprint32(s []byte) uint32

Fingerprint32 is a 32-bit fingerprint function for byte-slices

func Fingerprint64

func Fingerprint64(s []byte) uint64

Fingerprint64 is a 64-bit fingerprint function for byte-slices

func Hash128

func Hash128(s []byte) (lo, hi uint64)

Hash128 is a 128-bit hash function for byte-slices

func Hash128WithSeed

func Hash128WithSeed(s []byte, seed0, seed1 uint64) (lo, hi uint64)

Hash128WithSeed is a 128-bit hash function for byte-slices and a 128-bit seed

func Hash32

func Hash32(s []byte) uint32

Hash32 hashes a byte slice and returns a uint32 hash value

func Hash32WithSeed

func Hash32WithSeed(s []byte, seed uint32) uint32

Hash32WithSeed hashes a byte slice and a uint32 seed and returns a uint32 hash value

func Hash64

func Hash64(s []byte) uint64

Hash64 hashes a byte slice and returns a uint64 hash value

func Hash64WithSeed

func Hash64WithSeed(s []byte, seed uint64) uint64

Hash64WithSeed hashes a byte slice and a uint64 seed and returns a uint64 hash value

func Hash64WithSeeds

func Hash64WithSeeds(s []byte, seed0, seed1 uint64) uint64

Hash64WithSeeds hashes a byte slice and two uint64 seeds and returns a uint64 hash value

Types

This section is empty.

Jump to

Keyboard shortcuts

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