Home
last modified time | relevance | path

Searched refs:cache_target (Results 1 – 2 of 2) sorted by relevance

/external/openfst/src/include/fst/
Dcache.h570 size_t cache_target = cache_fraction * cache_limit_; in GC() local
574 if (cache_size_ > cache_target && state->ref_count == 0 && in GC()
585 if (!free_recent && cache_size_ > cache_target) { // recurses on recent in GC()
587 } else if (cache_target > 0) { // widens cache limit in GC()
588 while (cache_size_ > cache_target) { in GC()
590 cache_target *= 2; in GC()
Daccumulator.h397 size_t cache_target = (2 * cache_limit_)/3 + 1; in GC() local
399 while (it != cache_.end() && cache_size_ > cache_target) { in GC()
410 if (!free_recent && cache_size_ > cache_target) in GC()