Searched refs:kNumKeys (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/third_party/leveldatabase/src/issues/
H A Dissue178_test.cc16 const int kNumKeys = 1100000; member in namespace:__anon12457
46 for (size_t i = 0; i < kNumKeys; i++) {
53 for (size_t i = 0; i < kNumKeys; i++) {
60 for (size_t i = 0; i < kNumKeys; i++) {
67 std::string end_key = Key1(kNumKeys - 1);
81 ASSERT_EQ(kNumKeys, num_keys) << "Bad number of keys";
/external/chromium_org/net/disk_cache/blockfile/
H A Dstress_cache.cc136 // kNumKeys is meant to be enough to have about 3x or 4x iterations before
139 const int kNumKeys = 4000; local
141 const int kNumKeys = 1200; local
144 std::string keys[kNumKeys];
147 for (int i = 0; i < kNumKeys; i++) {
157 int key = rand() % kNumKeys;
179 key = rand() % kNumKeys;
/external/chromium_org/chrome/browser/sync/test/integration/performance/
H A Dautofill_sync_perf_test.cc33 static const int kNumKeys = 163; variable
196 AddKeys(0, kNumKeys);
201 ASSERT_EQ(kNumKeys, GetKeyCount(1));
/external/chromium_org/third_party/skia/tools/
H A DPictureResultsWriter.h249 static const int kNumKeys = 6; local
250 static const char* kKeys[kNumKeys] = {
257 SkASSERT(splitBuilder.count() >= kNumKeys);
258 for (int i = 0; i < kNumKeys && i < splitBuilder.count(); ++i) {
262 if (kNumKeys < splitBuilder.count()) {
264 for (int i = kNumKeys; i < splitBuilder.count(); ++i) {
/external/chromium_org/third_party/leveldatabase/src/db/
H A Ddb_test.cc1734 static const int kNumKeys = 1000; member in namespace:leveldb::__anon12443
1760 int key = rnd.Uniform(kNumKeys);

Completed in 310 milliseconds