15 #include "absl/container/internal/hash_generator_testing.h"
21 namespace container_internal {
22 namespace hash_internal {
25 class RandomDeviceSeedSeq {
29 template <
class Iterator>
44 static auto* rng = [] {
45 RandomDeviceSeedSeq seed_seq;
46 return new std::mt19937_64(seed_seq);
53 std::uniform_int_distribution<short> chars(0x20, 0x7E);
57 [&]() { return chars(*GetSharedRng()); });
62 static auto*
arena =
new std::deque<std::string>();
64 std::uniform_int_distribution<short> chars(0x20, 0x7E);
65 arena->emplace_back();
66 auto& res =
arena->back();
69 [&]() { return chars(*GetSharedRng()); });