Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ERR_FILTER_FULL = errors.New("full")
)
Functions ¶
This section is empty.
Types ¶
type CuckooFilter ¶
type CuckooFilter struct {
// contains filtered or unexported fields
}
func NewCuckooFilter ¶
func NewCuckooFilter(capacity uint, fpRate float64) *CuckooFilter
func (*CuckooFilter) Delete ¶
func (c *CuckooFilter) Delete(data []byte) bool
func (*CuckooFilter) Insert ¶
func (c *CuckooFilter) Insert(data []byte) error
func (*CuckooFilter) Lookup ¶
func (c *CuckooFilter) Lookup(data []byte) bool
Click to show internal directories.
Click to hide internal directories.