Searched refs:num_shards_ (Results 1 – 2 of 2) sorted by relevance
473 num_shards_ = 1 << num_shard_bits; in LRUCache()475 port::cacheline_aligned_alloc(sizeof(LRUCacheShard) * num_shards_)); in LRUCache()476 size_t per_shard = (capacity + (num_shards_ - 1)) / num_shards_; in LRUCache()477 for (int i = 0; i < num_shards_; i++) { in LRUCache()486 assert(num_shards_ > 0); in ~LRUCache()487 for (int i = 0; i < num_shards_; i++) { in ~LRUCache()519 num_shards_ = 0; in DisownData()524 num_shards_ = 0; in DisownData()531 for (int i = 0; i < num_shards_; i++) { in TEST_GetLRUSize()539 if (num_shards_ > 0) { in GetHighPriPoolRatio()
336 int num_shards_ = 0; variable