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

  /external/srec/tools/thirdparty/OpenFst/fst/lib/
cache.h 74 cache_limit_(FLAGS_fst_default_cache_gc_limit > kMinCacheLimit ||
82 cache_limit_(opts.gc_limit > kMinCacheLimit || opts.gc_limit == 0 ?
119 } else if (cache_limit_ == 0 && cache_first_state_id_ == kNoStateId) {
141 cache_limit_ = kMinCacheLimit;
149 if (cache_size_ > cache_limit_)
193 if (cache_size_ > cache_limit_)
270 // cache_limit_/3 bytes are uncached. If that fails to free enough,
272 // unable to free enough memory, then widens cache_limit_.
279 << ", cache limit = " << cache_limit_ << "\n"; local
282 size_t cache_target = (2 * cache_limit_)/3 + 1
308 << ", cache limit = " << cache_limit_ << "\\n"; local
335 size_t cache_limit_; \/\/ # of bytes allowed before GC member in class:fst::CacheBaseImpl
    [all...]
  /external/openfst/src/include/fst/
cache.h 121 cache_limit_(FLAGS_fst_default_cache_gc_limit > kMinCacheLimit ||
131 cache_limit_(opts.gc_limit > kMinCacheLimit || opts.gc_limit == 0 ?
141 cache_limit_(impl.cache_limit_) {
180 } else if (cache_limit_ == 0 && cache_first_state_id_ == kNoStateId) {
205 cache_limit_ = kMinCacheLimit;
212 if (cache_size_ > cache_limit_)
251 if (cache_size_ > cache_limit_)
283 if (cache_size_ > cache_limit_)
395 // cache_limit_/3 bytes are uncached. If that fails to free enough
404 << ", cache limit = " << cache_limit_ << "\\n"; local
433 << ", cache limit = " << cache_limit_ << "\\n"; local
473 size_t cache_limit_; \/\/ # of bytes allowed before GC member in class:fst::CacheBaseImpl
    [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 237 milliseconds