jody

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: MIT Imports: 2 Imported by: 13

Documentation

Index

Constants

View Source
const (

	// Init64 is what 64 bits hash values should be initialized with.
	Init64 = uint64(0)
)

Variables

This section is empty.

Functions

func AddBytes64 added in v1.0.2

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

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

func AddString64

func AddString64(h uint64, s string) uint64

AddString64 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.

func HashBytes64 added in v1.0.2

func HashBytes64(b []byte) uint64

HashBytes64 returns the hash of u.

func HashString64

func HashString64(s string) uint64

HashString64 returns the hash of s.

func HashUint64

func HashUint64(u uint64) uint64

HashUint64 returns the hash of u.

Types

This section is empty.

Jump to

Keyboard shortcuts

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