Reformat the world

This commit is contained in:
Tim Wojtulewicz 2021-09-16 15:35:39 -07:00
parent 194cb24547
commit b2f171ec69
714 changed files with 35149 additions and 35203 deletions

View file

@ -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