hash

package
v0.0.0-...-8ed0fbd Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: EPL-1.0 Imports: 1 Imported by: 16

Documentation

Overview

Package hash contains some common hash functions suitable for use in hash maps.

Index

Constants

View Source
const DJBInit uint32 = 5381

Variables

This section is empty.

Functions

func DJB

func DJB(hs ...uint32) uint32

func DJBCombine

func DJBCombine(acc, h uint32) uint32

func Pointer

func Pointer(p unsafe.Pointer) uint32

func String

func String(s string) uint32

func UInt32

func UInt32(u uint32) uint32

func UInt64

func UInt64(u uint64) uint32

func UIntPtr

func UIntPtr(u uintptr) uint32

Types

This section is empty.

Jump to

Keyboard shortcuts

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