mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Associate a Comphash with a BloomFilterVal.
We also keep track of the Bloom filter's element type inside each value. The first use of the BiF bloomfilter_add will "typify" the Bloom filter and lock the Bloom filter's type to the element type.
This commit is contained in:
parent
751cf61293
commit
880d02f720
4 changed files with 91 additions and 5 deletions
|
@ -269,7 +269,8 @@ private:
|
|||
*/
|
||||
class CountingBloomFilter : public BloomFilter {
|
||||
public:
|
||||
CountingBloomFilter(unsigned width);
|
||||
CountingBloomFilter(double fp, size_t capacity, size_t width);
|
||||
CountingBloomFilter(size_t cells, size_t capacity, size_t width);
|
||||
|
||||
protected:
|
||||
DECLARE_SERIAL(CountingBloomFilter);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue