Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitArray ¶
type BitArray struct {
// contains filtered or unexported fields
}
func NewBitArray ¶
type BloomFilter ¶
type BloomFilter struct {
// contains filtered or unexported fields
}
func New ¶
func New(m, k uint) *BloomFilter
func NewWithEstimate ¶
func NewWithEstimate(n uint, p float64) *BloomFilter
func (*BloomFilter) Add ¶
func (bf *BloomFilter) Add(str string) *BloomFilter
func (*BloomFilter) Check ¶
func (bf *BloomFilter) Check(str string) bool
func (*BloomFilter) CheckAndAdd ¶
func (bf *BloomFilter) CheckAndAdd(str string) bool
func (*BloomFilter) Clear ¶
func (bf *BloomFilter) Clear() *BloomFilter
Click to show internal directories.
Click to hide internal directories.