| 33 | namespace { |
| 34 | |
| 35 | string RandomString(random::SimplePhilox* rnd, size_t len) { |
| 36 | string x; |
| 37 | for (size_t i = 0; i < len; i++) { |
| 38 | x += rnd->Uniform(256); |
| 39 | } |
| 40 | return x; |
| 41 | } |
| 42 | |
| 43 | // --------------------------------------------------------------------- |
| 44 | // Utility template functions (they help templatize the tests below) |