hash

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 0 Imported by: 11

Documentation

Overview

Package Hash implements the fast modular hash used by the Neurlang classifier

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(n uint32, s uint32, max uint32) uint32

func StringHash added in v0.0.7

func StringHash(in uint32, str string) (out uint32)

func StringsHash added in v0.0.7

func StringsHash(in uint32, strs []string) (out uint32)

Types

This section is empty.

Jump to

Keyboard shortcuts

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