fasthashtest

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BenchmarkHashString32

func BenchmarkHashString32(b *testing.B, name string, reference func(string) uint32, algorithm func(string) uint32)

BenchmarkHashString32 is the implementation of a benchmark suite to compare the CPU and memory efficiency of a hashing algorithm against a reference implementation.

func BenchmarkHashString64

func BenchmarkHashString64(b *testing.B, name string, reference func(string) uint64, algorithm func(string) uint64)

BenchmarkHashString64 is the implementation of a benchmark suite to compare the CPU and memory efficiency of a hashing algorithm against a reference implementation.

func TestHashString32

func TestHashString32(t *testing.T, name string, reference func(string) uint32, algorithm func(string) uint32)

TestHashString32 is the implementation of a test suite to verify the behavior of a hashing algorithm.

func TestHashString64

func TestHashString64(t *testing.T, name string, reference func(string) uint64, algorithm func(string) uint64)

TestHashString64 is the implementation of a test suite to verify the behavior of a hashing algorithm.

func TestHashUint32

func TestHashUint32(t *testing.T, name string, reference func(uint32) uint32, algorithm func(uint32) uint32)

TestHashUint32 is the implementation of a test suite to verify the behavior of a hashing algorithm.

func TestHashUint64

func TestHashUint64(t *testing.T, name string, reference func(uint64) uint64, algorithm func(uint64) uint64)

TestHashUint64 is the implementation of a test suite to verify the behavior of a hashing algorithm.

Types

This section is empty.

Jump to

Keyboard shortcuts

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