hash

package
v0.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MemHash

func MemHash(data []byte) uint64

MemHash is the internal runtime hash function used by go. It uses hardware instructions, if available, to quickly compute a hash. N.B. The seed used by memhash changes on process start, so hash values are not deterministic across different runs of a process.

func MemHashString

func MemHashString(str string) uint64

MemHashString is the internal runtime hash function used by go. It uses hardware instructions, if available, to quickly compute a hash. N.B. The seed used by memhash changes on process start, so hash values are not deterministic across different runs of a process.

func String

func String(input string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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