Searched refs:requestCount (Results 1 - 18 of 18) sorted by relevance

/external/guava/guava/src/com/google/common/cache/
H A DCacheStats.java91 public long requestCount() { method in class:CacheStats
104 * {@code hitCount / requestCount}, or {@code 1.0} when {@code requestCount == 0}.
108 long requestCount = requestCount();
109 return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount;
124 * {@code missCount / requestCount}, or {@code 0.0} when {@code requestCount == 0}.
132 long requestCount
[all...]
/external/apache-http/src/org/apache/http/impl/
H A DHttpConnectionMetricsImpl.java50 private long requestCount = 0; field in class:HttpConnectionMetricsImpl
85 return this.requestCount;
89 this.requestCount++;
107 value = new Long(requestCount);
141 this.requestCount = 0;
/external/guava/guava-tests/test/com/google/common/cache/
H A DAbstractCacheTest.java86 assertEquals(0, stats.requestCount());
117 int requestCount = 11 + 23;
118 assertEquals(requestCount, stats.requestCount());
120 assertEquals(11.0/requestCount, stats.hitRate());
123 assertEquals(((double) missCount)/requestCount, stats.missRate());
H A DCacheStatsTest.java30 assertEquals(0, stats.requestCount());
46 assertEquals(24, stats.requestCount());
65 assertEquals(76, diff.requestCount());
86 assertEquals(124, sum.requestCount());
H A DLocalLoadingCacheTest.java92 assertEquals(1, stats.requestCount());
105 assertEquals(2, stats.requestCount());
116 assertEquals(3, stats.requestCount());
130 assertEquals(4, stats.requestCount());
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowDefaultRequestDirector.java138 int requestCount = Robolectric.getFakeHttpLayer().getSentHttpRequestInfos().size();
139 return Robolectric.getFakeHttpLayer().getSentHttpRequestInfo(requestCount - 1);
/external/mockwebserver/src/main/java/com/google/mockwebserver/
H A DMockWebServer.java69 private final AtomicInteger requestCount = new AtomicInteger(); field in class:MockWebServer
156 return requestCount.get();
330 requestCount.incrementAndGet();
380 requestCount.incrementAndGet();
/external/okhttp/src/main/java/com/squareup/okhttp/
H A DHttpResponseCache.java138 private int requestCount; field in class:HttpResponseCache
374 requestCount++;
400 return requestCount;
/external/chromium_org/third_party/WebKit/Source/core/fetch/
H A DResourceFetcher.h128 int requestCount() const { return m_requestCount; } function in class:WebCore::ResourceFetcher
/external/chromium_org/third_party/WebKit/Source/core/loader/
H A DFrameLoader.cpp463 if (m_frame->document()->fetcher()->requestCount())
1075 return m_frame->document()->fetcher()->requestCount();
1079 count += frame->document()->fetcher()->requestCount();
H A DDocumentLoader.cpp689 if (m_fetcher->requestCount())
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DAuditRules.js543 var requestCount = requests.length;
545 for (var i = 0; i < requestCount; ++i) {
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DFrameView.cpp1949 if (document->fetcher()->requestCount())
/external/robolectric/lib/main/
H A Dhttpcore-4.0.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/protocol/ ...
/external/smack/asmack-master/lib/
H A Dhttpcore-4.1.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/impl/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.jdt.debug_3.6.1.v20100715_r361/
H A Djdimodel.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/droiddriver/libs/
H A Dguava-13.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/hash/ ...
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...

Completed in 901 milliseconds