30 #ifndef ABSL_CONTAINER_INTERNAL_HASHTABLE_DEBUG_H_ 31 #define ABSL_CONTAINER_INTERNAL_HASHTABLE_DEBUG_H_ 35 #include <type_traits> 41 namespace container_internal {
49 const C& c,
const typename C::key_type& key) {
58 std::vector<size_t>
v;
59 for (
auto it = container.begin(); it != container.end(); ++it) {
62 absl::container_internal::hashtable_debug_internal::GetKey<C>(*it, 0));
63 v.resize((std::max)(v.size(), num_probes + 1));
81 for (
size_t i = 0;
i < probes.size(); ++
i) {
108 #endif // ABSL_CONTAINER_INTERNAL_HASHTABLE_DEBUG_H_
std::vector< size_t > GetHashtableDebugNumProbesHistogram(const C &container)
size_t LowerBoundAllocatedByteSize(size_t num_elements)
HashtableDebugProbeSummary GetHashtableDebugProbeSummary(const C &container)
size_t GetHashtableDebugNumProbes(const C &c, const typename C::key_type &key)
static size_t GetNumProbes(const Container &c, const typename Container::key_type &key)
size_t AllocatedByteSize(const C &c)