go-farm: github.com/dgryski/go-farm Index | Files

package farm

import "github.com/dgryski/go-farm"

Index

Package Files

basics.go farmhashcc.go farmhashmk.go farmhashna.go farmhashuo.go farmhashxo.go fp_stub.go

func Fingerprint128 Uses

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

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

func Fingerprint32 Uses

func Fingerprint32(s []byte) uint32

func Fingerprint64 Uses

func Fingerprint64(s []byte) uint64

func Hash128 Uses

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

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

func Hash128WithSeed Uses

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 Uses

func Hash32(s []byte) uint32

Hash32 hashes a byte slice and returns a uint32 hash value

func Hash32WithSeed Uses

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

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

func Hash64 Uses

func Hash64(s []byte) uint64

func Hash64WithSeed Uses

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

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

func Hash64WithSeeds Uses

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

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

Package farm imports 2 packages (graph) and is imported by 356 packages. Updated 2020-02-01. Refresh now. Tools for package owners.