22 #ifndef Hypertable_Lib_DataGeneratorRandom_h
23 #define Hypertable_Lib_DataGeneratorRandom_h
45 const char *charset =
nullptr);
51 #endif // Hypertable_Lib_DataGeneratorRandom_h
int32_t random_int32(int32_t maximum)
Generate random 32-bit integer.
void random_fill_with_chars(char *buf, size_t len, const char *charset=nullptr)
Fills a buffer with random values from a set of characters.
void random_generator_set_seed(unsigned seed)
Sets random number generator seed.