21 uint32_t operator()(
const bool& )
const
23 assert(fuzzed_data_provider_ptr !=
nullptr);
32 fuzzed_data_provider_ptr = &fuzzed_data_provider;
49 fuzzed_data_provider_ptr =
nullptr;
cache implements a cache with properties similar to a cuckoo-set.
std::pair< uint32_t, size_t > setup_bytes(size_t bytes)
setup_bytes is a convenience function which accounts for internal memory usage when deciding how many...
uint32_t setup(uint32_t new_size)
setup initializes the container to store no more than new_size elements and no less than 2 elements.
void insert(Element e)
insert loops at most depth_limit times trying to insert a hash at various locations in the table via ...
bool contains(const Element &e, const bool erase) const
contains iterates through the hash locations for a given element and checks to see if it is present.
T ConsumeIntegralInRange(T min, T max)
#define LIMITED_WHILE(condition, limit)
Can be used to limit a theoretically unbounded loop.