Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MMin is the minimum Filter filter bits count. MMin = 2 // KMin is the minimum number of keys. KMin = 1 // Uint64Bytes is the number of bytes in type uint64. Uint64Bytes = 8 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct {
// contains filtered or unexported fields
}
Block is a filter block
func NewFilterBlock ¶
NewFilterBlock returns new filter block, it is used to test key presence in the filter.
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
Filter is an opaque Filter filter type.
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator bloom filter generator.
func NewFilterGenerator ¶
func NewFilterGenerator() *Generator
NewFilterGenerator returns a new filter generator.
Click to show internal directories.
Click to hide internal directories.