| 25 | // class RandomByteGenerator |
| 26 | |
| 27 | RandomByteGenerator::RandomByteGenerator() { |
| 28 | BUF_SIZE = 16 * (1 << 20); |
| 29 | b1 = new char[BUF_SIZE]; |
| 30 | for (int i = 0; i < BUF_SIZE / sizeof(uint32_t); i++) |
| 31 | ((uint32_t*)b1)[i] = deterministicRandom()->randomUInt32(); |
| 32 | } |
| 33 | |
| 34 | RandomByteGenerator::~RandomByteGenerator() { |
| 35 | delete b1; |
nothing calls this directly
no test coverage detected