fnv1

package
v0.0.0-...-2710007 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Init is what 64 bits hash values should be initialized with.
	Init = offset64
)

Variables

This section is empty.

Functions

func AddBytes

func AddBytes(h uint64, b []byte) uint64

AddBytes adds the hash of b to the precomputed hash value h.

func AddString

func AddString(h uint64, s string) uint64

AddString adds the hash of s to the precomputed hash value h.

func AddUint64

func AddUint64(h uint64, u uint64) uint64

AddUint64 adds the hash value of the 8 bytes of u to h.

Types

This section is empty.

Jump to

Keyboard shortcuts

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