Home
last modified time | relevance | path

Searched refs:RandomString (Results 1 – 6 of 6) sorted by relevance

/leveldb-1.20/util/
H A Dtestutil.cc12 Slice RandomString(Random* rnd, int len, std::string* dst) { in RandomString() function
39 RandomString(rnd, raw, &raw_data); in CompressibleString()
H A Dtestutil.h17 extern Slice RandomString(Random* rnd, int len, std::string* dst);
/leveldb-1.20/db/
H A Ddb_test.cc22 static std::string RandomString(Random* rnd, int len) { in RandomString() function
24 test::RandomString(rnd, len, &r); in RandomString()
990 values.push_back(RandomString(&rnd, 100000)); in TEST()
1093 ASSERT_OK(Put(Key(i), RandomString(&rnd, S1))); in TEST()
1140 std::string big1 = RandomString(&rnd, 100000); in TEST()
1141 ASSERT_OK(Put(Key(0), RandomString(&rnd, 10000))); in TEST()
1142 ASSERT_OK(Put(Key(1), RandomString(&rnd, 10000))); in TEST()
1144 ASSERT_OK(Put(Key(3), RandomString(&rnd, 10000))); in TEST()
1232 std::string big = RandomString(&rnd, 50000); in TEST()
2033 v = RandomString(&rnd, in TEST()
[all …]
H A Dcorruption_test.cc198 return test::RandomString(&r, kValueSize, storage); in Value()
H A Dfault_injection_test.cc447 return test::RandomString(&r, kValueSize, storage); in Value()
/leveldb-1.20/table/
H A Dtable_test.cc729 test::RandomString(&rnd, rnd.Skewed(5), &v).ToString()); in TEST()
744 test::RandomString(&rnd, rnd.Skewed(5), &v).ToString()); in TEST()