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

Function RandomSkewedString

src/leveldb/db/log_test.cc:35–37  ·  view source on GitHub ↗

Return a skewed potentially long string

Source from the content-addressed store, hash-verified

33
34// Return a skewed potentially long string
35static std::string RandomSkewedString(int i, Random* rnd) {
36 return BigString(NumberString(i), rnd->Skewed(17));
37}
38
39class LogTest {
40 public:

Callers 1

TESTFunction · 0.85

Calls 3

BigStringFunction · 0.85
NumberStringFunction · 0.85
SkewedMethod · 0.80

Tested by

no test coverage detected