MCPcopy Create free account
hub / github.com/ElementsProject/elements / Value

Method Value

src/leveldb/db/corruption_test.cc:178–181  ·  view source on GitHub ↗

Return the value to associate with the specified key

Source from the content-addressed store, hash-verified

176
177 // Return the value to associate with the specified key
178 Slice Value(int k, std::string* storage) {
179 Random r(k);
180 return test::RandomString(&r, kValueSize, storage);
181 }
182
183 test::ErrorEnv env_;
184 Options options_;

Callers 2

NewIteratorMethod · 0.45
GetMethod · 0.45

Calls 1

RandomStringFunction · 0.70

Tested by

no test coverage detected