Searched refs:max_entries_ (Results 1 – 4 of 4) sorted by relevance
25 : max_entries_(max_entries) { in RtpSequenceNumberMap()26 RTC_DCHECK_GT(max_entries_, 4); // See code paring down to |max_entries_|. in RtpSequenceNumberMap()27 RTC_DCHECK_LE(max_entries_, 1 << 15); in RtpSequenceNumberMap()54 RTC_DCHECK_LE(associations_.size(), max_entries_); in InsertPacket()55 if (associations_.size() == max_entries_) { in InsertPacket()58 const size_t new_size = 3 * max_entries_ / 4; in InsertPacket()59 erase_to = std::next(erase_to, max_entries_ - new_size); in InsertPacket()
76 const size_t max_entries_; variable
42 : max_age_(max_age), max_entries_(max_entries), env_(env) {} in max_age_()108 size_t max_entries() const { return max_entries_; } in max_entries()147 } else if (max_entries_ > 0 && cache_.size() > max_entries_) { in InsertLocked()169 const size_t max_entries_; variable
45 max_entries_(max_entries), in max_age_()112 size_t max_entries() const { return max_entries_; } in max_entries()151 } else if (max_entries_ > 0 && cache_.size() > max_entries_) { in InsertLocked()173 const size_t max_entries_; variable