Home
last modified time | relevance | path

Searched refs:total_jobs (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/net/dns/
Dhost_resolver.cc33 if (limits.total_jobs != HostResolver::kDefaultParallelism) in GetDispatcherLimits()
37 limits.total_jobs = kDefaultMaxProcTasks; in GetDispatcherLimits()
67 size_t total_jobs = parsed.back(); in GetDispatcherLimits() local
74 if (total_reserved_slots > total_jobs || in GetDispatcherLimits()
75 (total_reserved_slots == total_jobs && parsed[MINIMUM_PRIORITY] == 0)) { in GetDispatcherLimits()
80 limits.total_jobs = total_jobs; in GetDispatcherLimits()
Dhost_resolver_impl.cc1797 max_queued_jobs_(job_limits.total_jobs * 100u), in HostResolverImpl()
/external/chromium_org/net/base/
Dprioritized_dispatcher.cc12 size_t total_jobs) in Limits() argument
13 : total_jobs(total_jobs), reserved_slots(num_priorities) {} in Limits()
107 DCHECK_LE(total, limits.total_jobs) << "sum(reserved_slots) <= total_jobs"; in SetLimits()
108 size_t spare = limits.total_jobs - total; in SetLimits()
Dprioritized_dispatcher.h39 Limits(Priority num_priorities, size_t total_jobs);
43 size_t total_jobs; member
Dprioritized_dispatcher_unittest.cc179 ASSERT_EQ(original_limits.total_jobs, retrieved_limits.total_jobs); in TEST_F()
195 ASSERT_EQ(new_limits.total_jobs, retrieved_limits.total_jobs); in TEST_F()