Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 14 of 14) sorted by relevance

/rocksdb-6.9/db/
Dmalloc_stats.cc23 char* cur; member
30 size_t buf_size = (size_t)(mstat->end - mstat->cur); in GetJemallocStatus()
35 snprintf(mstat->cur, buf_size, "%s", status); in GetJemallocStatus()
36 mstat->cur += status_len; in GetJemallocStatus()
45 mstat.cur = buf.get(); in DumpMallocStats()
Dmemtable.cc1122 auto cur = min_prep_log_referenced_.load(); in RefLogContainingPrepSection() local
1123 while ((log < cur || cur == 0) && in RefLogContainingPrepSection()
1124 !min_prep_log_referenced_.compare_exchange_strong(cur, log)) { in RefLogContainingPrepSection()
1125 cur = min_prep_log_referenced_.load(); in RefLogContainingPrepSection()
Djob_context.h67 notif.write_stall_info.condition.cur = new_cond; in PushWriteStallNotification()
Ddb_test.cc6040 condition_ = info.condition.cur; in OnStallConditionsChanged()
/rocksdb-6.9/memtable/
Dhash_linklist_rep.cc658 Node* cur = first; in Insert() local
661 if (cur == nullptr) { in Insert()
664 Node* next = cur->Next(); in Insert()
667 assert((cur == first) || (next == nullptr) || in Insert()
668 KeyIsAfterNode(next->key, cur)); in Insert()
669 if (KeyIsAfterNode(internal_key, cur)) { in Insert()
671 prev = cur; in Insert()
672 cur = next; in Insert()
679 assert(cur == nullptr || !Equal(x->key, cur->key)); in Insert()
683 x->NoBarrier_SetNext(cur); in Insert()
Dskiplistrep.cc217 size_t cur = 0; in Seek() local
218 while (cur++ <= rep_.lookahead_ && iter_.Valid()) { in Seek()
/rocksdb-6.9/db/compaction/
Dcompaction_iterator.cc712 auto cur = *snapshots_iter; in findEarliestVisibleSnapshot() local
713 assert(in <= cur); in findEarliestVisibleSnapshot()
714 if (in > cur) { in findEarliestVisibleSnapshot()
718 if (has_released_snapshot && released_snapshots_.count(cur) > 0) { in findEarliestVisibleSnapshot()
721 auto res = snapshot_checker_->CheckInSnapshot(in, cur); in findEarliestVisibleSnapshot()
723 return cur; in findEarliestVisibleSnapshot()
725 released_snapshots_.insert(cur); in findEarliestVisibleSnapshot()
727 *prev_snapshot = cur; in findEarliestVisibleSnapshot()
/rocksdb-6.9/table/block_based/
Dfilter_policy.cc551 Mode cur = mode_; in GetBuilderWithContext() local
555 switch (cur) { in GetBuilderWithContext()
558 cur = kLegacyBloom; in GetBuilderWithContext()
560 cur = kFastLocalBloom; in GetBuilderWithContext()
/rocksdb-6.9/tools/
Dtrace_analyzer_tool.cc209 std::string cur = in_str; in SparseCorrelationInput() local
210 if (cur.size() == 0) { in SparseCorrelationInput()
213 while (!cur.empty()) { in SparseCorrelationInput()
214 if (cur.compare(0, 1, "[") != 0) { in SparseCorrelationInput()
219 std::size_t split = cur.find_first_of(","); in SparseCorrelationInput()
221 opt1 = cur.substr(1, split - 1); in SparseCorrelationInput()
226 std::size_t end = cur.find_first_of("]"); in SparseCorrelationInput()
228 opt2 = cur.substr(split + 1, end - split - 1); in SparseCorrelationInput()
233 cur = cur.substr(end + 1); in SparseCorrelationInput()
/rocksdb-6.9/db_stress_tool/
Ddb_stress_test_base.cc786 uint8_t cur = k[i]; in GetWhiteBoxKeys() local
787 if (cur > 0) { in GetWhiteBoxKeys()
788 k[i] = static_cast<char>(cur - 1); in GetWhiteBoxKeys()
797 uint8_t cur = k[i]; in GetWhiteBoxKeys() local
798 if (cur < 255) { in GetWhiteBoxKeys()
799 k[i] = static_cast<char>(cur + 1); in GetWhiteBoxKeys()
/rocksdb-6.9/include/rocksdb/
Dlistener.h133 WriteStallCondition cur; member
/rocksdb-6.9/env/
Denv_test.cc340 int cur = cb->last_id_ptr->load(); in TEST_P() local
341 ASSERT_EQ(cb->id - 1, cur); in TEST_P()
357 int cur = last_id.load(std::memory_order_acquire); in TEST_P() local
358 ASSERT_EQ(4, cur); in TEST_P()
/rocksdb-6.9/third-party/gtest-1.8.1/fused-src/gtest/
Dgtest-all.cc10994 const CharType cur = begin[index]; in PrintCharsAsStringTo() local
10995 if (is_previous_hex && IsXDigit(cur)) { in PrintCharsAsStringTo()
11001 is_previous_hex = PrintAsStringLiteralTo(cur, os) == kHexEscape; in PrintCharsAsStringTo()
/rocksdb-6.9/
DHISTORY.md1107 * Supports several more DB properties: compaction-pending, background-errors and cur-size-active-me…