bloomfilter

package
v0.0.0-...-b071cee Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

README

布隆过滤器

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 NewBloomFilter

func NewBloomFilter(maps int, hashFn Hash, storeLens int) *BloomFilter

func (*BloomFilter) Add

func (b *BloomFilter) Add(v []byte)

func (*BloomFilter) Exist

func (b *BloomFilter) Exist(v []byte) bool

type Hash

type Hash func([]byte) uint32

Jump to

Keyboard shortcuts

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