bloom

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FNVMagicNumber = 0xAF63BD4C8601B7DF
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TimestampBloomFilter

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

this is a work in progress as we decide on the right course of action with oded and research

func New

func New(size int) *TimestampBloomFilter

func (*TimestampBloomFilter) Add

func (bf *TimestampBloomFilter) Add(timeStamp primitives.TimestampNano)

func (*TimestampBloomFilter) BitCount

func (bf *TimestampBloomFilter) BitCount() uint8

func (*TimestampBloomFilter) Equals

func (bf *TimestampBloomFilter) Equals(other *TimestampBloomFilter) bool

func (*TimestampBloomFilter) Raw

func (*TimestampBloomFilter) Size

func (bf *TimestampBloomFilter) Size() uint32

func (*TimestampBloomFilter) Test

func (bf *TimestampBloomFilter) Test(timeStamp primitives.TimestampNano) bool

Jump to

Keyboard shortcuts

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