Searched refs:max_keys (Results 1 – 4 of 4) sorted by relevance
| /rocksdb-6.9/utilities/persistent_cache/ |
| D | hash_table_test.cc | 84 const uint64_t max_keys = 1024 * 1024; in TEST_F() local 87 for (uint64_t k = 0; k < max_keys; ++k) { in TEST_F() 92 for (uint64_t k = 0; k < max_keys; ++k) { in TEST_F() 102 const uint64_t max_keys = 1024 * 1024; in TEST_F() local 104 for (uint64_t k = 0; k < max_keys; ++k) { in TEST_F() 112 uint64_t k = rand.Next() % max_keys; in TEST_F() 121 for (uint64_t k = 0; k < max_keys; ++k) { in TEST_F() 136 const uint64_t max_keys = 1024 * 1024; in TEST_F() local 139 for (uint64_t k = 0; k < max_keys; ++k) { in TEST_F() 144 for (uint64_t k = 0; k < max_keys; ++k) { in TEST_F()
|
| D | persistent_cache_test.h | 72 void Insert(const size_t nthreads, const size_t max_keys) { in Insert() argument 74 max_keys_ = max_keys; in Insert() 179 void RunInsertTest(const size_t nthreads, const size_t max_keys) { in RunInsertTest() argument 180 Insert(nthreads, max_keys); in RunInsertTest() 182 ASSERT_EQ(stats_verify_hits_, max_keys); in RunInsertTest() 190 void RunNegativeInsertTest(const size_t nthreads, const size_t max_keys) { in RunNegativeInsertTest() argument 191 Insert(nthreads, max_keys); in RunNegativeInsertTest() 193 ASSERT_LT(stats_verify_hits_, max_keys); in RunNegativeInsertTest() 202 Insert(nthreads, max_keys); in RunInsertTestWithEviction() 204 ASSERT_EQ(stats_verify_hits_ + stats_verify_missed_, max_keys); in RunInsertTestWithEviction() [all …]
|
| D | persistent_cache_test.cc | 184 for (auto max_keys : in TEST_F() 187 RunInsertTest(nthreads, static_cast<size_t>(max_keys)); in TEST_F() 195 for (auto max_keys : {1 * 1024 * 1024 * kStressFactor}) { in TEST_F() 208 for (auto max_keys : in TEST_F() 213 RunInsertTest(nthreads, static_cast<size_t>(max_keys)); in TEST_F() 222 for (auto max_keys : {1 * 1024 * 1024 * kStressFactor}) { in TEST_F() 234 for (auto max_keys : in TEST_F() 238 RunInsertTest(nthreads, static_cast<size_t>(max_keys)); in TEST_F() 248 for (auto max_keys : {1 * 1024 * 1024 * kStressFactor}) { in TEST_F() 314 const size_t max_keys = 100 * 1024, const size_t max_usecase = 5) { in RunTest() argument [all …]
|
| /rocksdb-6.9/tools/ |
| D | ldb_cmd.cc | 1702 int max_keys = max_keys_; in DoDumpCommand() local 1747 if (max_keys == 0) in DoDumpCommand() 1756 if (max_keys > 0) { in DoDumpCommand() 1757 --max_keys; in DoDumpCommand()
|