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(numItems int, falsePositiveRate float64) *BloomFilter
func (*BloomFilter) Add ¶
func (bf *BloomFilter) Add(data []byte)
func (*BloomFilter) Contains ¶
func (bf *BloomFilter) Contains(data []byte) bool
Click to show internal directories.
Click to hide internal directories.