libbloom

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: Apache-2.0, CC0-1.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(nHashNums, nTweak uint32, k [32]byte, bloom []byte) bool
func Search(power byte, tweakAdd, initSize, nFuncs uint32, txmap map[[32]byte]bool) (size uint32, tweak uint32)

func Serialize

func Serialize(filter []byte, nFuncs, tweak uint32) []byte

func Set

func Set(nHashNums, nTweak uint32, k [32]byte, bloom []byte)

func Test

func Test(size, nTweak, nHashNums uint32, txmap map[[32]byte]bool) (fp uint32, bloom []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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