Home
last modified time | relevance | path

Searched refs:MaxCounter (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/video/
Dstats_counter.h176 class MaxCounter : public StatsCounter {
178 MaxCounter(Clock* clock,
181 ~MaxCounter() override {} in ~MaxCounter()
189 RTC_DISALLOW_COPY_AND_ASSIGN(MaxCounter);
Dstats_counter.cc336 MaxCounter::MaxCounter(Clock* clock, in MaxCounter() function in webrtc::MaxCounter
344 void MaxCounter::Add(int sample) { in Add()
348 bool MaxCounter::GetMetric(int* metric) const { in GetMetric()
356 int MaxCounter::GetValueForEmptyInterval() const { in GetValueForEmptyInterval()
Dreceive_statistics_proxy2.h186 MaxCounter freq_offset_counter_ RTC_GUARDED_BY(main_thread_);
Dreceive_statistics_proxy.h179 MaxCounter freq_offset_counter_ RTC_GUARDED_BY(mutex_);
Dstats_counter_unittest.cc124 MaxCounter counter(&clock_, observer, kProcessIntervalMs); in TEST_F()
/external/cldr/tools/java/org/unicode/cldr/util/
DVoteResolver.java355 static class MaxCounter<T> extends Counter<T> { class in VoteResolver
356 public MaxCounter(boolean b) { in MaxCounter() method in VoteResolver.MaxCounter
364 public MaxCounter<T> add(T obj, long countValue, long time) { in add()
377 … private final Map<Organization, MaxCounter<T>> orgToVotes = new EnumMap<>(Organization.class);
389 orgToVotes.put(org, new MaxCounter<T>(true)); in OrganizationToValueAndVote()
397 for (Map.Entry<Organization, MaxCounter<T>> entry : orgToVotes.entrySet()) { in clear()
499 for (Map.Entry<Organization, MaxCounter<T>> entry : orgToVotes.entrySet()) { in getTotals()
584 for (Map.Entry<Organization, MaxCounter<T>> entry : orgToVotes.entrySet()) { in getOrgCount()
605 for (Entry<Organization, MaxCounter<T>> entry : orgToVotes.entrySet()) { in toString()
640 MaxCounter<T> counter = orgToVotes.get(org); in getOrgToVotes()