Searched refs:cache_size_ (Results 1 – 4 of 4) sorted by relevance
73 cache_gc_(FLAGS_fst_default_cache_gc), cache_size_(0), in CacheBaseImpl()81 cache_first_state_(0), cache_gc_(opts.gc), cache_size_(0), in CacheBaseImpl()139 cache_size_ += sizeof(S) + in ExtendState()148 cache_size_ += sizeof(S); in ExtendState()149 if (cache_size_ > cache_limit_) in ExtendState()192 cache_size_ += arcs.capacity() * sizeof(Arc); in SetArcs()193 if (cache_size_ > cache_limit_) in SetArcs()278 << ", cache size = " << cache_size_ in GC()286 if (cache_size_ > cache_target && state->ref_count == 0 && in GC()288 cache_size_ -= sizeof(S) + state->arcs.capacity() * sizeof(Arc); in GC()[all …]
141 cache_size_(cache_size) { in HttpCache()153 cache_size_(cache_size) { in HttpCache()168 cache_size_(cache_size) { in HttpCache()179 cache_size_(0) { in HttpCache()205 DCHECK_GE(cache_size_, 0); in GetBackend()210 disk_cache_.reset(disk_cache::CreateInMemoryCacheBackend(cache_size_)); in GetBackend()213 cache_size_, type_)); in GetBackend()
300 int cache_size_; variable
2312 int32_t cache_size_; member in WTF::TCMalloc_Central_FreeList2458 cache_size_ = 1; in Init()2460 ASSERT(cache_size_ <= kNumTransferEntries); in Init()2534 if (used_slots_ < cache_size_) return true; in MakeCacheSpace()2536 if (cache_size_ == kNumTransferEntries) return false; in MakeCacheSpace()2541 cache_size_++; in MakeCacheSpace()2561 if (cache_size_ == 0) return false; in ShrinkCache()2563 if (force == false && used_slots_ == cache_size_) return false; in ShrinkCache()2570 ASSERT(used_slots_ <= cache_size_); in ShrinkCache()2571 ASSERT(0 <= cache_size_); in ShrinkCache()[all …]