Documentation ¶
Index ¶
Constants ¶
View Source
const (
MAX_DB = 8388609
)
Variables ¶
This section is empty.
Functions ¶
func HashShower ¶ added in v0.7.0
this HashShower fuction is fast but not safety.
Types ¶
type BitMap ¶ added in v0.6.0
type BitMap struct {
// contains filtered or unexported fields
}
位图
type BloomFilter ¶ added in v0.7.0
type BloomFilter struct {
// contains filtered or unexported fields
}
func NewBloomFilter ¶ added in v0.7.0
func NewBloomFilter(k int) *BloomFilter
max is the max of bitmap number k is the number of HashShower fuction.
func (*BloomFilter) IsExit ¶ added in v0.7.0
func (b *BloomFilter) IsExit(value []byte) bool
is exit.
type Queue ¶ added in v0.2.0
type Queue struct {
// contains filtered or unexported fields
}
func (*Queue) Pop ¶ added in v0.2.0
func (q *Queue) Pop() interface{}
return the top of queue,and delete a node of the queue.
type Trie ¶ added in v0.5.0
support all utf8 code.
Click to show internal directories.
Click to hide internal directories.