jody

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2018 License: MIT Imports: 2 Imported by: 16

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