HomeSort by relevance Sort by last modified time
    Searched refs:cache_limit_ (Results 1 - 2 of 2) sorted by null

  /external/openfst/src/include/fst/
cache.h 124 cache_limit_(FLAGS_fst_default_cache_gc_limit > kMinCacheLimit ||
135 cache_limit_(opts.gc_limit > kMinCacheLimit || opts.gc_limit == 0 ?
147 cache_limit_(impl.cache_limit_),
243 if (cache_size_ > cache_limit_)
276 if (cache_size_ > cache_limit_)
443 // GC until at most cache_fraction * cache_limit_ bytes are cached.
446 // widens cache_limit_ to fulfill condition.
467 size_t GetCacheLimit() const { return cache_limit_; }
494 size_t cache_limit_; // # of bytes allowed before G member in class:fst::CacheBaseImpl
567 << ", cache limit = " << cache_limit_ << "\\n"; local
599 << ", cache limit = " << cache_limit_ << "\\n"; local
    [all...]
accumulator.h 350 : cache_gc_(gc), cache_limit_(gc_limit), cache_size_(0) {}
359 bool CacheDisabled() const { return cache_gc_ && cache_limit_ == 0; }
372 if (cache_gc_ && cache_size_ >= cache_limit_)
394 // 'cache_size_' is 2/3 of 'cache_limit_'. If it does not free enough
397 size_t cache_target = (2 * cache_limit_)/3 + 1;
416 size_t cache_limit_; // # of bytes cached member in class:fst::CacheLogAccumulatorData

Completed in 163 milliseconds