bloom

package
v0.0.0-...-7d36c00 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultSize = 2 << 24

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

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

func NewBloomFilter

func NewBloomFilter() *Filter

func (Filter) Add

func (bf Filter) Add(value string)

func (Filter) Contains

func (bf Filter) Contains(value string) bool

type SimpleHash

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

Jump to

Keyboard shortcuts

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