Versions in this module Expand all Collapse all v1 v1.7.1 Jan 29, 2021 v1.7.0 Dec 8, 2020 Changes in this version + func CPUTicks() int64 + func FastRand() uint32 + func KeyToHash(key interface{}) (uint64, uint64) + func MemHash(data []byte) uint64 + func MemHashString(str string) uint64 + func NanoTime() int64 + type Bloom struct + ElemNum uint64 + func JSONUnmarshal(dbData []byte) (*Bloom, error) + func NewBloomFilter(params ...float64) (bloomfilter *Bloom) + func (bl *Bloom) Add(hash uint64) + func (bl *Bloom) AddIfNotHas(hash uint64) bool + func (bl *Bloom) Clear() + func (bl *Bloom) IsSet(idx uint64) bool + func (bl *Bloom) Set(idx uint64) + func (bl *Bloom) Size(sz uint64) + func (bl Bloom) Has(hash uint64) bool + func (bl Bloom) JSONMarshal() []byte