Lines Matching refs:CountingBloomFilter
24 type CountingBloomFilter struct { struct
37 func NewCountingBloomFilter(n uint, b uint8, fpRate float64) *CountingBloomFilter {
42 return &CountingBloomFilter{
54 func NewDefaultCountingBloomFilter(n uint, fpRate float64) *CountingBloomFilter {
59 func (c *CountingBloomFilter) Capacity() uint { argument
64 func (c *CountingBloomFilter) K() uint { argument
69 func (c *CountingBloomFilter) Count() uint { argument
76 func (c *CountingBloomFilter) Test(data []byte) bool { argument
91 func (c *CountingBloomFilter) Add(data []byte) Filter { argument
105 func (c *CountingBloomFilter) TestAndAdd(data []byte) bool { argument
124 func (c *CountingBloomFilter) TestAndRemove(data []byte) bool { argument
148 func (c *CountingBloomFilter) Reset() *CountingBloomFilter { argument
156 func (c *CountingBloomFilter) SetHash(h hash.Hash64) { argument