Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket struct {
// contains filtered or unexported fields
}
Bucket is a bit wise container used in bloom filters.
type Classic ¶
type Classic struct {
// contains filtered or unexported fields
}
Classic implements a classic Bloom Filter.
func NewClassic ¶
NewClassic returns a classic bloom filter.
type Count ¶
type Count struct { Bucket *CountBucket // contains filtered or unexported fields }
Count - a implement of count bloom filter.
type CountBucket ¶
type CountBucket struct {
// contains filtered or unexported fields
}
CountBucket is a bit wise container used in count bloom filters.
func NewCountBucket ¶
func NewCountBucket(m uint) *CountBucket
NewCountBucket creates a empty Bucket with at least m bits.
func (*CountBucket) Remove ¶
func (b *CountBucket) Remove(pos uint)
Remove - decrease the count of one element.
Click to show internal directories.
Click to hide internal directories.