Home
last modified time | relevance | path

Searched refs:bits_per_key (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/leveldatabase/src/util/
Dbloom.cc23 explicit BloomFilterPolicy(int bits_per_key) in BloomFilterPolicy() argument
24 : 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() argument
92 return new BloomFilterPolicy(bits_per_key); in NewBloomFilterPolicy()
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/
Dfilter_policy.h66 extern const FilterPolicy* NewBloomFilterPolicy(int bits_per_key);
Dc.h239 int bits_per_key);
/external/chromium_org/third_party/leveldatabase/src/db/
Dc.cc499 leveldb_filterpolicy_t* leveldb_filterpolicy_create_bloom(int bits_per_key) { in leveldb_filterpolicy_create_bloom() argument
516 wrapper->rep_ = NewBloomFilterPolicy(bits_per_key); in leveldb_filterpolicy_create_bloom()