/external/guava/guava/src/com/google/common/cache/ |
D | CacheStats.java | 91 public long requestCount() { in requestCount() method in CacheStats 108 long requestCount = requestCount(); in hitRate() local 109 return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount; in hitRate() 132 long requestCount = requestCount(); in missRate() local 133 return (requestCount == 0) ? 0.0 : (double) missCount / requestCount; in missRate()
|
/external/apache-http/src/org/apache/http/impl/ |
D | HttpConnectionMetricsImpl.java | 50 private long requestCount = 0; field in HttpConnectionMetricsImpl 85 return this.requestCount; in getRequestCount() 89 this.requestCount++; in incrementRequestCount() 107 value = new Long(requestCount); in getMetric() 141 this.requestCount = 0; in reset()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | AbstractCacheTest.java | 86 assertEquals(0, stats.requestCount()); in testEmptySimpleStats() 117 int requestCount = 11 + 23; in testSingleSimpleStats() local 118 assertEquals(requestCount, stats.requestCount()); in testSingleSimpleStats() 120 assertEquals(11.0/requestCount, stats.hitRate()); in testSingleSimpleStats() 123 assertEquals(((double) missCount)/requestCount, stats.missRate()); in testSingleSimpleStats()
|
D | CacheStatsTest.java | 30 assertEquals(0, stats.requestCount()); in testEmpty() 46 assertEquals(24, stats.requestCount()); in testSingle() 65 assertEquals(76, diff.requestCount()); in testMinus() 86 assertEquals(124, sum.requestCount()); in testPlus()
|
D | LocalLoadingCacheTest.java | 92 assertEquals(1, stats.requestCount()); in testStats() 105 assertEquals(2, stats.requestCount()); in testStats() 116 assertEquals(3, stats.requestCount()); in testStats() 130 assertEquals(4, stats.requestCount()); in testStats()
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
D | Benchmark.java | 107 int requestCount = 0; in run() local 119 double requestsPerSecond = requestCount / reportDuration * TimeUnit.SECONDS.toNanos(1); in run() 124 requestCount = 0; in run() 132 requestCount++; in run()
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
D | MockWebServer.java | 69 private final AtomicInteger requestCount = new AtomicInteger(); field in MockWebServer 163 return requestCount.get(); in getRequestCount() 348 requestCount.incrementAndGet(); in serveConnection() 415 requestCount.incrementAndGet(); in dispatchBookkeepingRequest()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowDefaultRequestDirector.java | 138 int requestCount = Robolectric.getFakeHttpLayer().getSentHttpRequestInfos().size(); in getLatestSentHttpRequestInfo() local 139 return Robolectric.getFakeHttpLayer().getSentHttpRequestInfo(requestCount - 1); in getLatestSentHttpRequestInfo()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | HttpResponseCache.java | 137 private int requestCount; field in HttpResponseCache 307 requestCount++; in trackResponse() 333 return requestCount; in getRequestCount()
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServer.java | 103 private final AtomicInteger requestCount = new AtomicInteger(); field in MockWebServer 215 return requestCount.get(); in getRequestCount() 392 requestCount.incrementAndGet(); in serveConnection() 429 requestCount.incrementAndGet(); in dispatchBookkeepingRequest()
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
D | ProgressTracker.cpp | 167 int numPendingOrLoadingRequests = m_frame->document()->fetcher()->requestCount(); in incrementProgress()
|
D | FrameLoader.cpp | 455 if (m_frame->document()->fetcher()->requestCount()) in checkCompleted() 941 if (document->fetcher()->requestCount()) in isDocumentDoneLoading()
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
D | ResourceFetcher.h | 127 int requestCount() const { return m_requestCount; } in requestCount() function
|
/external/nanohttpd/core/src/main/java/fi/iki/elonen/ |
D | NanoHTTPD.java | 452 private long requestCount; field in NanoHTTPD.DefaultAsyncRunner 456 ++requestCount; in exec() 459 t.setName("NanoHttpd Request Processor (#" + requestCount + ")"); in exec()
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/audits/ |
D | AuditRules.js | 609 var requestCount = requests.length; 611 for (var i = 0; i < requestCount; ++i) {
|