mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00
Support emptiness check on Bloom filters.
This commit is contained in:
parent
5736aef440
commit
5769c32f1e
9 changed files with 53 additions and 0 deletions
|
@ -77,6 +77,12 @@ public:
|
|||
*/
|
||||
count_type Count(size_type cell) const;
|
||||
|
||||
/**
|
||||
* Checks whether all counters are 0.
|
||||
* @return `true` iff all counters have the value 0.
|
||||
*/
|
||||
bool AllZero() const;
|
||||
|
||||
/**
|
||||
* Sets all counters to 0.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue