Searched refs:SNAPSHOT_CACHE_SIZE (Results 1 – 3 of 3) sorted by relevance
400 new std::atomic<SequenceNumber>[SNAPSHOT_CACHE_SIZE] {}); in Init()838 for (; it != snapshots.end() && i < SNAPSHOT_CACHE_SIZE; ++it, ++i) { in UpdateSnapshots()886 size_t ip1 = std::min(cnt, SNAPSHOT_CACHE_SIZE); in CheckAgainstSnapshots()893 if (ip1 == SNAPSHOT_CACHE_SIZE) { // border line snapshot in CheckAgainstSnapshots()912 if (UNLIKELY(SNAPSHOT_CACHE_SIZE < cnt && search_larger_list)) { in CheckAgainstSnapshots()923 for (size_t i = 0; i < SNAPSHOT_CACHE_SIZE; i++) { in CheckAgainstSnapshots()
44 SNAPSHOT_CACHE_SIZE(static_cast<size_t>(1ull << SNAPSHOT_CACHE_BITS)), in WritePreparedTxnDB()55 SNAPSHOT_CACHE_SIZE(static_cast<size_t>(1ull << SNAPSHOT_CACHE_BITS)), in WritePreparedTxnDB()726 const size_t SNAPSHOT_CACHE_SIZE; variable
1198 for (size_t old_size = 1; old_size <= wp_db->SNAPSHOT_CACHE_SIZE + extra; in TEST_P()1234 std::min(old_snapshots.size(), wp_db->SNAPSHOT_CACHE_SIZE) + 1; in TEST_P()1236 std::min(new_snapshots.size(), wp_db->SNAPSHOT_CACHE_SIZE) + 1; in TEST_P()1311 ASSERT_TRUE(i < wp_db->SNAPSHOT_CACHE_SIZE); in TEST_P()