Lines Matching refs:LRUCache
26 static bool JoinCallChain(LRUCache& cache, uint32_t tid, in JoinCallChain()
37 TEST(LRUCache, different_nodes) { in TEST() argument
38 LRUCache cache(sizeof(CacheNode) * 2, 1); in TEST()
69 TEST(LRUCache, extend_chains) { in TEST() argument
73 LRUCache cache1(sizeof(CacheNode) * 4, 1); in TEST()
81 LRUCache cache2(sizeof(CacheNode) * 4, 2); in TEST()
89 LRUCache cache3(sizeof(CacheNode) * 4, 2); in TEST()
97 TEST(LRUCache, avoid_ip_sp_loop) { in TEST() argument
98 LRUCache cache(sizeof(CacheNode) * 2, 1); in TEST()
108 TEST(LRUCache, one_chain) { in TEST() argument
109 LRUCache cache(sizeof(CacheNode) * 4, 1); in TEST()
129 TEST(LRUCache, many_chains) { in TEST() argument
130 LRUCache cache(sizeof(CacheNode) * 12, 1); in TEST()