Home
last modified time | relevance | path

Searched refs:counter_ (Results 1 – 5 of 5) sorted by relevance

/rocksdb-6.9/table/block_based/
Dblock_builder.cc54 counter_(0), in BlockBuilder()
76 counter_ = 0; in Reset()
93 !use_value_delta_encoding_ || (counter_ >= block_restart_interval_) in EstimateSizeAfterKV()
97 if (counter_ >= block_restart_interval_) { in EstimateSizeAfterKV()
105 if (!use_value_delta_encoding_ || (counter_ >= block_restart_interval_)) { in EstimateSizeAfterKV()
138 assert(counter_ <= block_restart_interval_); in Add()
141 if (counter_ >= block_restart_interval_) { in Add()
145 counter_ = 0; in Add()
192 counter_++; in Add()
Dblock_builder.h69 int counter_; // Number of entries emitted since restart variable
/rocksdb-6.9/db/
Ddb_test_util.h433 counter_(counter), in NewRandomAccessFile()
437 counter_->Increment(); in NewRandomAccessFile()
451 anon::AtomicCounter* counter_; in NewRandomAccessFile() local
474 : target_(std::move(target)), counter_(counter) {} in NewSequentialFile()
476 counter_->Increment(); in NewSequentialFile()
483 anon::AtomicCounter* counter_; in NewSequentialFile() local
Dlistener_test.cc886 int counter_; member in ROCKSDB_NAMESPACE::BackgroundErrorListener
889 BackgroundErrorListener(SpecialEnv* env) : env_(env), counter_(0) {} in BackgroundErrorListener()
893 if (counter_ == 0) { in OnBackgroundError()
900 ++counter_; in OnBackgroundError()
903 int counter() { return counter_; } in counter()
Ddb_bloom_filter_test.cc649 : filter_(NewBloomFilterPolicy(bits_per_key, true)), counter_(0) {} in TestingWrappedBlockBasedFilterPolicy()
669 counter_++; in KeyMayMatch()
673 uint32_t GetCounter() { return counter_; } in GetCounter()
677 mutable uint32_t counter_; member in ROCKSDB_NAMESPACE::__anon639ca7e70211::TestingWrappedBlockBasedFilterPolicy