Searched refs:cache_size_ (Results 1 - 2 of 2) sorted by relevance
/external/openfst/src/include/fst/ |
H A D | cache.h | 123 cache_gc_(FLAGS_fst_default_cache_gc), cache_size_(0), 134 cache_first_state_(0), cache_gc_(opts.gc), cache_size_(0), 146 cache_first_state_(0), cache_gc_(impl.cache_gc_), cache_size_(0), 161 cache_size_ = impl.cache_size_; 242 cache_size_ += sizeof(Arc); 243 if (cache_size_ > cache_limit_) 275 cache_size_ += arcs.capacity() * sizeof(Arc); 276 if (cache_size_ > cache_limit_) 302 cache_size_ 493 size_t cache_size_; // # of bytes cached member in class:fst::CacheBaseImpl [all...] |
H A D | accumulator.h | 350 : cache_gc_(gc), cache_limit_(gc_limit), cache_size_(0) {} 372 if (cache_gc_ && cache_size_ >= cache_limit_) 376 cache_size_ += weights->capacity() * sizeof(double); 394 // 'cache_size_' is 2/3 of 'cache_limit_'. If it does not free enough 399 while (it != cache_.end() && cache_size_ > cache_target) { 402 cache_size_ -= cs.weights->capacity() * sizeof(double); 410 if (!free_recent && cache_size_ > cache_target) 417 size_t cache_size_; // # of bytes allowed before GC member in class:fst::CacheLogAccumulatorData
|
Completed in 623 milliseconds