/external/chromium_org/net/base/ |
prioritized_dispatcher.h | 39 Limits(Priority num_priorities, size_t total_jobs); 73 size_t num_priorities() const { return max_running_jobs_.size(); } function in class:net::PrioritizedDispatcher
|
prioritized_dispatcher.cc | 11 PrioritizedDispatcher::Limits::Limits(Priority num_priorities, 13 : total_jobs(total_jobs), reserved_slots(num_priorities) {} 29 DCHECK_LT(priority, num_priorities()); 41 DCHECK_LT(priority, num_priorities()); 66 DCHECK_LT(priority, num_priorities()); 87 size_t num_priorities = max_running_jobs_.size(); local 88 Limits limits(num_priorities, max_running_jobs_.back()); 92 for (size_t i = 1; i < num_priorities; ++i) { 100 DCHECK_EQ(queue_.num_priorities(), limits.reserved_slots.size()); 121 SetLimits(Limits(queue_.num_priorities(), 0)) [all...] |
priority_queue.h | 130 // Creates a new queue for |num_priorities|. 131 explicit PriorityQueue(Priority num_priorities) 132 : lists_(num_priorities), size_(0) { 279 size_t num_priorities() const { function in class:net::PriorityQueue
|