filter

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Bloom filter implementation

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(size uint32, hashes uint8) *BloomFilter

func (*BloomFilter) Add

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

in-memory

func (*BloomFilter) MightContain

func (b *BloomFilter) MightContain(key []byte) bool

bloom filter is false positive

Jump to

Keyboard shortcuts

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