Go to the documentation of this file.
18 #ifndef ABSL_CONTAINER_INTERNAL_HASH_GENERATOR_TESTING_H_
19 #define ABSL_CONTAINER_INTERNAL_HASH_GENERATOR_TESTING_H_
28 #include <type_traits>
32 #include "absl/container/internal/hash_policy_testing.h"
33 #include "absl/memory/memory.h"
34 #include "absl/meta/type_traits.h"
35 #include "absl/strings/string_view.h"
39 namespace container_internal {
40 namespace hash_internal {
41 namespace generator_internal {
43 template <
class Container,
class =
void>
64 return o << static_cast<uint64_t>(ec);
67 template <
class T,
class E =
void>
73 std::uniform_int_distribution<T> dist;
86 return static_cast<Enum>(variate);
94 std::uniform_int_distribution<
122 template <
class K,
class V>
130 template <
class... Ts>
146 decltype(std::declval<U&>().value())>>
148 typename std::decay<decltype(std::declval<U&>().key())>::type,
149 typename std::decay<decltype(std::declval<U&>().value())>::type>> {};
151 template <
class Container>
160 template <
class T,
size_t kMaxValues = 64,
class E =
void>
166 assert(
values.size() < kMaxValues);
182 #endif // ABSL_CONTAINER_INTERNAL_HASH_GENERATOR_TESTING_H_
std::pair< K, V > operator()() const
std::mt19937_64 * GetSharedRng()
static void ** find(grpc_chttp2_stream_map *map, uint32_t key)
EnumClass operator()() const
decltype(std::declval< const Generator< typename std::conditional< generator_internal::IsMap< Container >::value, typename Container::value_type, typename Container::key_type >::type > & >()()) GeneratedType
integral_constant< bool, true > true_type
integral_constant< bool, false > false_type
#define ABSL_NAMESPACE_END
std::tuple< Ts... > operator()() const
#define T(upbtypeconst, upbtype, ctype, default_value)
#define ABSL_NAMESPACE_BEGIN
unsigned __int64 uint64_t
NonStandardLayout operator()() const
typename type_traits_internal::VoidTImpl< Ts... >::type void_t
std::unique_ptr< T > operator()() const
std::ostream & operator<<(std::ostream &o, const EnumClass &ec)
std::pair< std::string, std::string > pair
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:00