Lines Matching refs:LRUCache
26 static bool JoinCallChain(LRUCache& cache, uint32_t tid, const std::vector<uint64_t>& input_ip, in JoinCallChain()
36 TEST(LRUCache, different_nodes) { in TEST() argument
37 LRUCache cache(sizeof(CacheNode) * 2, 1); in TEST()
68 TEST(LRUCache, extend_chains) { in TEST() argument
72 LRUCache cache1(sizeof(CacheNode) * 4, 1); in TEST()
80 LRUCache cache2(sizeof(CacheNode) * 4, 2); in TEST()
88 LRUCache cache3(sizeof(CacheNode) * 4, 2); in TEST()
96 TEST(LRUCache, avoid_ip_sp_loop) { in TEST() argument
97 LRUCache cache(sizeof(CacheNode) * 2, 1); in TEST()
107 TEST(LRUCache, one_chain) { in TEST() argument
108 LRUCache cache(sizeof(CacheNode) * 4, 1); in TEST()
128 TEST(LRUCache, many_chains) { in TEST() argument
129 LRUCache cache(sizeof(CacheNode) * 12, 1); in TEST()