hash

package
v5.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Copyright 2018 the u-root Authors. All rights reserved Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. 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 Hash

func Hash(i interface{}) uint32

Types

This section is empty.

Jump to

Keyboard shortcuts

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