Lines Matching refs:TKey
63 template <typename TKey, typename TEntry>
65 std::unordered_map<TKey, TEntry> map;
94 typedef typename std::unordered_map<TKey, TEntry>::iterator iterator;
96 typename std::unordered_map<TKey, TEntry>::const_iterator const_iterator;
101 void MaxEntries(uid_t uid, pid_t pid, std::array<const TKey*, len>& out_keys, in MaxEntries() argument
132 memmove(&out_keys[index + 1], &out_keys[index], num * sizeof(const TKey*)); in MaxEntries()
142 iterator Add(const TKey& key, const LogStatisticsElement& element) { in Add()
152 iterator Add(const TKey& key) { in Add()
162 void Subtract(const TKey& key, const LogStatisticsElement& element) { in Subtract()
169 void Drop(const TKey& key, const LogStatisticsElement& element) { in Drop()
176 void Erase(const TKey& key, const LogStatisticsElement& element) { in Erase()
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,