Home | History | Annotate | Download | only in fst

Lines Matching refs:GC

38   bool gc;          // enable GC
39 size_t gc_limit; // # of bytes allowed before GC
41 CacheOptions(bool g, size_t l) : gc(g), gc_limit(l) {}
43 : gc(FLAGS_fst_default_cache_gc),
94 // cached. If the 'gc' option is 'false', cached items have the extent
95 // of the FST - minimizing computation. If the 'gc' option is 'true',
130 cache_first_state_(0), cache_gc_(opts.gc), cache_size_(0),
136 // Preserve gc parameters, but initially cache nothing.
213 GC(s, false);
252 GC(s, false);
284 GC(s, false);
394 // states that have not been accessed since the last GC until
398 void GC(StateId current, bool free_recent) {
401 VLOG(2) << "CacheImpl: Enter GC: object = " << Type() << "(" << this
423 GC(current, true);
430 VLOG(2) << "CacheImpl: Exit GC: object = " << Type() << "(" << this
453 static const uint32 kCacheRecent = 0x0004; // Mark as visited since GC
471 bool cache_gc_; // enable GC
473 size_t cache_limit_; // # of bytes allowed before GC