Lines Matching refs:TEntry
63 template <typename TKey, typename TEntry>
65 std::unordered_map<TKey, TEntry> map;
90 (size() * (sizeof(TEntry) + unordered_map_per_entry_overhead)) + in sizeOf()
94 typedef typename std::unordered_map<TKey, TEntry>::iterator iterator;
96 typename std::unordered_map<TKey, TEntry>::const_iterator const_iterator;
102 std::array<const TEntry*, len>& out_entries) const { in MaxEntries() argument
107 if constexpr (std::is_same_v<TEntry, UidEntry>) { in MaxEntries()
116 if constexpr (std::is_same_v<TEntry, PidEntry>) { in MaxEntries()
134 num * sizeof(const TEntry*)); in MaxEntries()
145 it = map.insert(std::make_pair(key, TEntry(element))).first; in Add()
155 it = map.insert(std::make_pair(key, TEntry(key))).first; in Add()
573 template <typename TKey, typename TEntry>
574 void WorstTwoWithThreshold(const LogHashtable<TKey, TEntry>& table, size_t threshold,
576 template <typename TKey, typename TEntry>
577 std::string FormatTable(const LogHashtable<TKey, TEntry>& table, uid_t uid, pid_t pid,