bloomfilter

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BloomFilter

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

func New

func New(rowCount int64, probability float64) *BloomFilter

func (*BloomFilter) Add

func (bf *BloomFilter) Add(v *vector.Vector)

func (*BloomFilter) Clean

func (bf *BloomFilter) Clean()

func (*BloomFilter) Test

func (bf *BloomFilter) Test(v *vector.Vector, callBack func(bool, int))

func (*BloomFilter) TestAndAdd

func (bf *BloomFilter) TestAndAdd(v *vector.Vector, callBack func(bool, int))

Jump to

Keyboard shortcuts

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