Home
last modified time | relevance | path

Searched refs:requestCount (Results 1 – 25 of 31) sorted by relevance

12

/external/guava/guava/src/com/google/common/cache/
DCacheStats.java99 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/apache-http/src/org/apache/http/impl/
DHttpConnectionMetricsImpl.java55 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/
DAbstractCacheTest.java103 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()
DCacheStatsTest.java30 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()
DLocalLoadingCacheTest.java87 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/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DBenchmark.java106 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/
DMockWebServer.java86 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/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowDefaultRequestDirector.java138 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/
DCache.java165 private int requestCount; field in Cache
395 requestCount++; in trackResponse()
420 return requestCount; in getRequestCount()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java117 private final AtomicInteger requestCount = new AtomicInteger(); field in MockWebServer
293 return requestCount.get();
520 requestCount.incrementAndGet();
581 requestCount.incrementAndGet();
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java342 private long requestCount; field in NanoHTTPD.DefaultAsyncRunner
368 ++this.requestCount; in exec()
371 t.setName("NanoHttpd Request Processor (#" + this.requestCount + ")"); in exec()
/external/robolectric/v3/
Dshadows-httpclient-3.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ org/ ...
/external/robolectric/v1/lib/main/
Dhttpcore-4.0.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.jdt.debug_3.6.1.v20100715_r361/
Djdimodel.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/robolectric/v3/runtime/
Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
/external/guice/extensions/persist/lib/
Dhsqldb.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hsqldb/ org/ ...
/external/guice/lib/
Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12