Bitcoin
Namespaces | Functions
testutil.cc File Reference
#include "util/testutil.h"
#include "util/random.h"

Namespaces

 leveldb
 
 leveldb::test
 

Functions

Slice leveldb::test::RandomString (Random *rnd, int len, std::string *dst)
 
std::string leveldb::test::RandomKey (Random *rnd, int len)
 
Slice leveldb::test::CompressibleString (Random *rnd, double compressed_fraction, size_t len, std::string *dst)