Searched refs:cache_limit_ (Results 1 – 3 of 3) sorted by relevance
74 cache_limit_(FLAGS_fst_default_cache_gc_limit > kMinCacheLimit || in CacheBaseImpl()82 cache_limit_(opts.gc_limit > kMinCacheLimit || opts.gc_limit == 0 ? in CacheBaseImpl()119 } else if (cache_limit_ == 0 && cache_first_state_id_ == kNoStateId) { in ExtendState()141 cache_limit_ = kMinCacheLimit; in ExtendState()149 if (cache_size_ > cache_limit_) in ExtendState()193 if (cache_size_ > cache_limit_) in SetArcs()279 << ", cache limit = " << cache_limit_ << "\n"; in GC()282 size_t cache_target = (2 * cache_limit_)/3 + 1; in GC()301 cache_limit_ *= 2; in GC()308 << ", cache limit = " << cache_limit_ << "\n"; in GC()[all …]
124 cache_limit_(FLAGS_fst_default_cache_gc_limit > kMinCacheLimit || in cache_start_()135 cache_limit_(opts.gc_limit > kMinCacheLimit || opts.gc_limit == 0 ? in cache_start_()147 cache_limit_(impl.cache_limit_),243 if (cache_size_ > cache_limit_) in AddArc()276 if (cache_size_ > cache_limit_) in SetArcs()467 size_t GetCacheLimit() const { return cache_limit_; } in GetCacheLimit()494 size_t cache_limit_; // # of bytes allowed before GC variable506 } else if (cache_limit_ == 0 && cache_first_state_id_ == kNoStateId) { in ExtendState()537 cache_limit_ = kMinCacheLimit; in ExtendState()544 if (cache_size_ > cache_limit_) in ExtendState()[all …]
350 : cache_gc_(gc), cache_limit_(gc_limit), cache_size_(0) {} in CacheLogAccumulatorData()359 bool CacheDisabled() const { return cache_gc_ && cache_limit_ == 0; } in CacheDisabled()372 if (cache_gc_ && cache_size_ >= cache_limit_) in AddWeights()397 size_t cache_target = (2 * cache_limit_)/3 + 1; in GC()416 size_t cache_limit_; // # of bytes cached variable