mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Add bloomfilter_clear() BiF.
This commit is contained in:
parent
c89f61917b
commit
5383e8f75b
7 changed files with 53 additions and 0 deletions
|
@ -70,6 +70,11 @@ bool CounterVector::Decrement(size_type cell, count_type value)
|
|||
return carry;
|
||||
}
|
||||
|
||||
void CounterVector::Clear()
|
||||
{
|
||||
bits->Clear();
|
||||
}
|
||||
|
||||
CounterVector::count_type CounterVector::Count(size_type cell) const
|
||||
{
|
||||
assert(cell < Size());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue