OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full: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
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 302 milliseconds