Lines Matching refs:uc
74 WeightScaler(UsageComputer* uc, float scale);
87 UsageComputer uc(InitialWeight, false);
88 uc.Visit(node);
89 return !uc.HasStackOverflow();
369 UsageComputer uc(weight_, false);
370 uc.Visit(x);
379 UsageComputer uc(weight_, true);
380 uc.Visit(x);
402 WeightScaler::WeightScaler(UsageComputer* uc, float scale) {
403 uc_ = uc;
404 old_weight_ = uc->weight_;
405 int new_weight = static_cast<int>(uc->weight_ * scale);
408 uc->weight_ = new_weight;