19 return Assert(Minisketch(32, impl, capacity));
30 if (!Minisketch::ImplementationSupported(32, impl))
return;
38 std::map<uint32_t, bool>
diff;
43 bool& mut{
diff[entry]};
61 const auto num_diff{std::accumulate(
diff.begin(),
diff.end(),
size_t{0}, [](
auto n,
const auto&
e) { return n + e.second; })};
#define Assert(val)
Identity function.
T ConsumeIntegralInRange(T min, T max)
#define LIMITED_WHILE(condition, limit)
Can be used to limit a theoretically unbounded loop.
struct minisketch minisketch
Opaque type for decoded sketches.
size_t CallOneOf(FuzzedDataProvider &fuzzed_data_provider, Callables... callables)
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.
FuzzedDataProvider & fuzzed_data_provider