Searched refs:cache_capacity (Results 1 – 2 of 2) sorted by relevance
81 void init(unsigned cache_capacity) { in init() argument82 std::size_t alloc_size = cache_capacity * sizeof(task_dispatcher*); in init()86 my_max_index = cache_capacity - 1; in init()
93 concurrent_lru_cache(value_function_type value_function, std::size_t cache_capacity) in concurrent_lru_cache() argument94 : my_value_function(value_function), my_history_list_capacity(cache_capacity) { in concurrent_lru_cache()