bloom

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: MIT Imports: 1 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 {
	Set   *bitset.BitSet
	Funcs [6]simpleHash
}

func NewBloomFilter

func NewBloomFilter() *BloomFilter

func (*BloomFilter) Add

func (bf *BloomFilter) Add(value string)

func (*BloomFilter) Contains

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

Jump to

Keyboard shortcuts

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