MCPcopy Create free account
hub / github.com/chen3feng/toft / Initialize

Method Initialize

container/bloom_filter.cpp:76–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void BloomFilter::Initialize(size_t bitmap_byte_size, size_t num_hashes)
77{
78 Destroy();
79 CheckBitmapSize(bitmap_byte_size);
80 UncheckedInitialize(bitmap_byte_size, num_hashes);
81}
82
83void BloomFilter::Initialize(size_t element_count, double false_positive_prob)
84{

Callers

nothing calls this directly

Calls 2

StringPrintFunction · 0.85
resizeMethod · 0.80

Tested by

no test coverage detected