/external/guava/guava/src/com/google/common/cache/ |
D | CacheStats.java | 108 public long requestCount() { in requestCount() method in CacheStats 123 long requestCount = requestCount(); in hitRate() local 124 return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount; in hitRate() 147 long requestCount = requestCount(); in missRate() local 148 return (requestCount == 0) ? 0.0 : (double) missCount / requestCount; in missRate()
|
/external/guava/android/guava/src/com/google/common/cache/ |
D | CacheStats.java | 108 public long requestCount() { in requestCount() method in CacheStats 123 long requestCount = requestCount(); in hitRate() local 124 return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount; in hitRate() 147 long requestCount = requestCount(); in missRate() local 148 return (requestCount == 0) ? 0.0 : (double) missCount / requestCount; in missRate()
|
/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/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/skia/src/gpu/mock/ |
D | GrMockCaps.h | 87 int getRenderTargetSampleCount(int requestCount, GrColorType ct) const { in getRenderTargetSampleCount() argument 88 requestCount = std::max(requestCount, 1); in getRenderTargetSampleCount() 94 return requestCount > 1 ? 0 : 1; in getRenderTargetSampleCount() 96 return requestCount > kMaxSampleCnt ? 0 : GrNextPow2(requestCount); in getRenderTargetSampleCount() 101 int getRenderTargetSampleCount(int requestCount, in getRenderTargetSampleCount() argument 108 return this->getRenderTargetSampleCount(requestCount, format.asMockColorType()); in getRenderTargetSampleCount()
|
/external/guava/android/guava-tests/test/com/google/common/cache/ |
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() 114 assertEquals(Long.MAX_VALUE, sum.requestCount()); in testPlusLarge()
|
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 | LocalLoadingCacheTest.java | 82 assertEquals(1, stats.requestCount()); in testStats() 95 assertEquals(2, stats.requestCount()); in testStats() 106 assertEquals(3, stats.requestCount()); in testStats() 120 assertEquals(4, stats.requestCount()); in testStats()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
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() 114 assertEquals(Long.MAX_VALUE, sum.requestCount()); in testPlusLarge()
|
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 | LocalLoadingCacheTest.java | 82 assertEquals(1, stats.requestCount()); in testStats() 95 assertEquals(2, stats.requestCount()); in testStats() 106 assertEquals(3, stats.requestCount()); in testStats() 120 assertEquals(4, stats.requestCount()); in testStats()
|
/external/dagger2/javatests/dagger/functional/cycle/ |
D | DoubleCheckCycleTest.java | 163 AtomicInteger requestCount = new AtomicInteger(0); in testGetFromMultipleThreads() local 195 requestCount.incrementAndGet(); in testGetFromMultipleThreads() 203 assertThat(requestCount.get()).isEqualTo(0); in testGetFromMultipleThreads() 225 assertThat(requestCount.get()).isEqualTo(10); in testGetFromMultipleThreads() 237 assertThat(requestCount.get()).isEqualTo(10); in testGetFromMultipleThreads()
|
/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/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/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(); 586 requestCount.incrementAndGet();
|
/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()
|