bloomFilter

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	M_OFF  = 13
	M_MASK = 0x1FFF
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BloomFilter

type BloomFilter interface {
	Elem([]byte) bool
	Insert([]byte) error
	typeclass.Read
	typeclass.Show
}

func New

func New(k, n, m uint32) (BloomFilter, error)

Jump to

Keyboard shortcuts

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