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

Function MakeKey

src/leveldb/db/db_test.cc:2232–2236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2230}
2231
2232std::string MakeKey(unsigned int num) {
2233 char buf[30];
2234 snprintf(buf, sizeof(buf), "%016u", num);
2235 return std::string(buf);
2236}
2237
2238void BM_LogAndApply(int iters, int num_base_files) {
2239 std::string dbname = test::TmpDir() + "/leveldb_test_benchmark";

Callers 4

BM_LogAndApplyFunction · 0.85
RandomTargetMethod · 0.85
WriteStepMethod · 0.85
ReadStepMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected