filter

package
v6.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBloomFilter

func NewBloomFilter(expectedElemenets uint, falsePositiveProbability float64) storage.Filter

NewBloomFilter description

Types

type BloomFilter

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

BloomFilter description

func (*BloomFilter) Add

func (bf *BloomFilter) Add(data string)

Add description

func (*BloomFilter) Clear

func (bf *BloomFilter) Clear()

Clear description

func (*BloomFilter) Contains

func (bf *BloomFilter) Contains(data string) bool

Contains description

Jump to

Keyboard shortcuts

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