/external/guava/guava/src/com/google/common/cache/ |
D | CacheStats.java | 99 public long requestCount() { in requestCount() method in CacheStats 116 long requestCount = requestCount(); in hitRate() local 117 return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount; in hitRate() 140 long requestCount = requestCount(); in missRate() local 141 return (requestCount == 0) ? 0.0 : (double) missCount / requestCount; in missRate()
|
/external/skia/src/gpu/mock/ |
D | GrMockCaps.h | 45 int getRenderTargetSampleCount(int requestCount, GrPixelConfig config) const override { in getRenderTargetSampleCount() argument 46 requestCount = SkTMax(requestCount, 1); in getRenderTargetSampleCount() 51 return requestCount > 1 ? 0 : 1; in getRenderTargetSampleCount() 53 return requestCount > kMaxSampleCnt ? 0 : GrNextPow2(requestCount); in getRenderTargetSampleCount()
|
/external/skqp/src/gpu/mock/ |
D | GrMockCaps.h | 45 int getRenderTargetSampleCount(int requestCount, GrPixelConfig config) const override { in getRenderTargetSampleCount() argument 46 requestCount = SkTMax(requestCount, 1); in getRenderTargetSampleCount() 51 return requestCount > 1 ? 0 : 1; in getRenderTargetSampleCount() 53 return requestCount > kMaxSampleCnt ? 0 : GrNextPow2(requestCount); in getRenderTargetSampleCount()
|
/external/apache-http/src/org/apache/http/impl/ |
D | HttpConnectionMetricsImpl.java | 55 private long requestCount = 0; field in HttpConnectionMetricsImpl 90 return this.requestCount; in getRequestCount() 94 this.requestCount++; in incrementRequestCount() 112 value = new Long(requestCount); in getMetric() 146 this.requestCount = 0; in reset()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | AbstractCacheTest.java | 103 assertEquals(0, stats.requestCount()); in testEmptySimpleStats() 134 int requestCount = 11 + 23; in testSingleSimpleStats() local 135 assertEquals(requestCount, stats.requestCount()); in testSingleSimpleStats() 137 assertEquals(11.0 / requestCount, stats.hitRate()); in testSingleSimpleStats() 140 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 | 87 assertEquals(1, stats.requestCount()); in testStats() 100 assertEquals(2, stats.requestCount()); in testStats() 111 assertEquals(3, stats.requestCount()); in testStats() 125 assertEquals(4, stats.requestCount()); in testStats()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowHttpResponseCache.java | 27 private int requestCount = 0; field in ShadowHttpResponseCache 85 return requestCount; in getRequestCount() 91 requestCount += 1; in get()
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
D | Benchmark.java | 106 int requestCount = 0; in run() local 118 double requestsPerSecond = requestCount / reportDuration * TimeUnit.SECONDS.toNanos(1); in run() 123 requestCount = 0; in run() 131 requestCount++; in run()
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
D | MockWebServer.java | 86 private final AtomicInteger requestCount = new AtomicInteger(); field in MockWebServer 179 return requestCount.get(); in getRequestCount() 366 requestCount.incrementAndGet(); in serveConnection() 421 requestCount.incrementAndGet(); in dispatchBookkeepingRequest()
|
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/ |
D | ShadowDefaultRequestDirector.java | 151 int requestCount = FakeHttp.getFakeHttpLayer().getSentHttpRequestInfos().size(); in getLatestSentHttpRequestInfo() local 152 return FakeHttp.getFakeHttpLayer().getSentHttpRequestInfo(requestCount - 1); in getLatestSentHttpRequestInfo()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Cache.java | 166 private int requestCount; field in Cache 396 requestCount++; in trackResponse() 421 return requestCount; in getRequestCount()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | Cache.java | 168 private int requestCount; field in Cache 398 requestCount++; in trackResponse() 423 return requestCount; in getRequestCount()
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServer.java | 118 private final AtomicInteger requestCount = new AtomicInteger(); field in MockWebServer 296 return requestCount.get(); 524 requestCount.incrementAndGet(); 585 requestCount.incrementAndGet();
|
/external/oj-libjdwp/src/share/back/ |
D | VirtualMachineImpl.c | 869 int requestCount; in disposeObjects() local 877 requestCount = inStream_readInt(in); in disposeObjects() 883 for (i = 0; i < requestCount; i++) { in disposeObjects()
|
/external/nanohttpd/core/src/main/java/fi/iki/elonen/ |
D | NanoHTTPD.java | 342 private long requestCount; field in NanoHTTPD.DefaultAsyncRunner 368 ++this.requestCount; in exec() 371 t.setName("NanoHttpd Request Processor (#" + this.requestCount + ")"); in exec()
|
/external/python/cpython2/Mac/Modules/file/ |
D | _Filemodule.c | 2741 UInt64 requestCount; in File_FSAllocateFork() local 2748 &requestCount)) in File_FSAllocateFork() 2754 requestCount, in File_FSAllocateFork()
|