Searched refs:cache_gc_ (Results 1 – 3 of 3) sorted by relevance
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
D | cache.h | 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() 137 if (cache_gc_) { in ExtendState() 146 if (cache_gc_) { in ExtendState() 191 if (cache_gc_ && s != cache_first_state_id_) { in SetArcs() 274 if (!cache_gc_) in GC() 333 bool cache_gc_; // enable GC variable
|
/external/openfst/src/include/fst/ |
D | cache.h | 123 cache_gc_(FLAGS_fst_default_cache_gc), cache_size_(0), in cache_start_() 134 cache_first_state_(0), cache_gc_(opts.gc), cache_size_(0), in cache_start_() 146 cache_first_state_(0), cache_gc_(impl.cache_gc_), cache_size_(0), 240 if (cache_gc_ && s != cache_first_state_id_ && in AddArc() 273 if (cache_gc_ && s != cache_first_state_id_ && in SetArcs() 300 if (cache_gc_ && s != cache_first_state_id_ && in DeleteArcs() 314 if (cache_gc_ && s != cache_first_state_id_ && in DeleteArcs() 466 bool GetCacheGc() const { return cache_gc_; } in GetCacheGc() 492 bool cache_gc_; // enable GC variable 532 if (cache_gc_ && !(cache_first_state_->flags & kCacheProtect)) { in ExtendState() [all …]
|
D | accumulator.h | 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() 375 if (cache_gc_) in AddWeights() 415 bool cache_gc_; // Enable garbage collection variable
|