Searched refs:bits_per_key (Results 1 – 4 of 4) sorted by relevance
23 explicit BloomFilterPolicy(int bits_per_key) in BloomFilterPolicy() argument24 : bits_per_key_(bits_per_key) { in BloomFilterPolicy()26 k_ = static_cast<size_t>(bits_per_key * 0.69); // 0.69 =~ ln(2) in BloomFilterPolicy()91 const FilterPolicy* NewBloomFilterPolicy(int bits_per_key) { in NewBloomFilterPolicy() argument92 return new BloomFilterPolicy(bits_per_key); in NewBloomFilterPolicy()
66 extern const FilterPolicy* NewBloomFilterPolicy(int bits_per_key);
239 int bits_per_key);
499 leveldb_filterpolicy_t* leveldb_filterpolicy_create_bloom(int bits_per_key) { in leveldb_filterpolicy_create_bloom() argument516 wrapper->rep_ = NewBloomFilterPolicy(bits_per_key); in leveldb_filterpolicy_create_bloom()