bloom

package
v0.7.14 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	M = byteSize * 8
	K = 2
)

Variables

View Source
var NewWithEstimates = bloom.NewWithEstimates

Functions

This section is empty.

Types

type Filter

type Filter = bloom.BloomFilter

func FromScrape

func FromScrape(f dht.ScrapeBloomFilter) Filter

type StableBloomFilter added in v0.3.0

type StableBloomFilter struct {
	boom.StableBloomFilter
}

func NewDefaultStableBloomFilter added in v0.3.0

func NewDefaultStableBloomFilter() *StableBloomFilter

func (*StableBloomFilter) Scan added in v0.3.0

func (s *StableBloomFilter) Scan(value interface{}) error

func (StableBloomFilter) Value added in v0.3.0

func (s StableBloomFilter) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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