mmhash3

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Copyright github.com/DataDog/mmh3

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash128

func Hash128(key []byte) []byte

func Hash128x64

func Hash128x64(key []byte) []byte

Hash128x64 is a version of MurmurHash which is designed to run only on little-endian processors. It is considerably faster for those processors than Hash128.

func Hash32

func Hash32(key []byte) uint32

Types

type HashWriter128

type HashWriter128 struct {
	// contains filtered or unexported fields
}

func (*HashWriter128) BlockSize

func (hw *HashWriter128) BlockSize() int

func (*HashWriter128) Reset

func (hw *HashWriter128) Reset()

func (*HashWriter128) Size

func (hw *HashWriter128) Size() int

func (*HashWriter128) Sum

func (hw *HashWriter128) Sum(b []byte) []byte

func (*HashWriter128) Write

func (hw *HashWriter128) Write(b []byte) (int, error)

func (*HashWriter128) WriteString

func (hw *HashWriter128) WriteString(s string) (int, error)

Jump to

Keyboard shortcuts

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