Lines Matching defs:it
353 for(typename unordered_map<StateId, CacheState>::iterator it = cache_.begin();
354 it != cache_.end();
355 ++it)
356 delete it->second.weights;
362 typename unordered_map<StateId, CacheState>::iterator it = cache_.find(s);
363 if (it != cache_.end()) {
364 it->second.recent = true;
365 return it->second.weights;
394 // 'cache_size_' is 2/3 of 'cache_limit_'. If it does not free enough
398 typename unordered_map<StateId, CacheState>::iterator it = cache_.begin();
399 while (it != cache_.end() && cache_size_ > cache_target) {
400 CacheState &cs = it->second;
404 cache_.erase(it++);
407 ++it;
424 // has a WeightConvert specialization to and from log64 weights. It
652 // ReplaceFst state table. It uses accumulators of type 'Accumulator'