mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Reformat the world
This commit is contained in:
parent
194cb24547
commit
b2f171ec69
714 changed files with 35149 additions and 35203 deletions
|
@ -5,17 +5,19 @@
|
|||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
||||
namespace zeek::detail {
|
||||
namespace zeek::detail
|
||||
{
|
||||
|
||||
struct WeirdState {
|
||||
struct WeirdState
|
||||
{
|
||||
WeirdState() = default;
|
||||
uint64_t count = 0;
|
||||
double sampling_start_time = 0;
|
||||
};
|
||||
};
|
||||
|
||||
using WeirdStateMap = std::unordered_map<std::string, WeirdState>;
|
||||
|
||||
bool PermitWeird(WeirdStateMap& wsm, const char* name, uint64_t threshold,
|
||||
uint64_t rate, double duration);
|
||||
bool PermitWeird(WeirdStateMap& wsm, const char* name, uint64_t threshold, uint64_t rate,
|
||||
double duration);
|
||||
|
||||
} // namespace zeek::detail
|
||||
} // namespace zeek::detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue