Searched refs:num_tokens_ (Results 1 – 2 of 2) sorted by relevance
103 Bucket() : num_tokens_(0) {} in Bucket()106 bool DeductToken() { return num_tokens_-- > 0; } in DeductToken()109 bool has_tokens() const { return num_tokens_ > 0; } in has_tokens()121 int64 num_tokens_; variable
82 num_tokens_ = config.refill_token_count; in Reset()