- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 84 for stats (0.13 sec)
-
guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java
} public void testSize() { when(mock.size()).thenReturn(0L); long unused = forward.size(); } public void testStats() { when(mock.stats()).thenReturn(null); assertNull(forward.stats()); } public void testAsMap() { when(mock.asMap()).thenReturn(null); assertNull(forward.asMap()); } public void testCleanUp() { forward.cleanUp();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java
cacheNoStats.put(TEST_KEY, TEST_VALUE); } @Benchmark void concurrentHashMap(int rep) { for (int i = 0; i < rep; i++) { map.get(TEST_KEY); } } @Benchmark void cacheBuilder_stats(int rep) { for (int i = 0; i < rep; i++) { cache.getIfPresent(TEST_KEY); } } @Benchmark void cacheBuilder(int rep) { for (int i = 0; i < rep; i++) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Aug 05 17:21:46 GMT 2022 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/cache/AbstractCache.java
} @Override public CacheStats stats() { throw new UnsupportedOperationException(); } @Override public ConcurrentMap<K, V> asMap() { throw new UnsupportedOperationException(); } /** * Accumulates statistics during the operation of a {@link Cache} for presentation by {@link * Cache#stats}. This is solely intended for consumption by {@code Cache} implementors.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 9.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ForwardingCacheTest.java
} public void testSize() { when(mock.size()).thenReturn(0L); assertEquals(0, forward.size()); } public void testStats() { when(mock.stats()).thenReturn(null); assertNull(forward.stats()); } public void testAsMap() { when(mock.asMap()).thenReturn(null); assertNull(forward.asMap()); } public void testCleanUp() { forward.cleanUp();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/cache/ForwardingCache.java
public void invalidateAll() { delegate().invalidateAll(); } @Override public long size() { return delegate().size(); } @Override public CacheStats stats() { return delegate().stats(); } @Override public ConcurrentMap<K, V> asMap() { return delegate().asMap(); } @Override public void cleanUp() { delegate().cleanUp(); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/ForwardingCache.java
public void invalidateAll() { delegate().invalidateAll(); } @Override public long size() { return delegate().size(); } @Override public CacheStats stats() { return delegate().stats(); } @Override public ConcurrentMap<K, V> asMap() { return delegate().asMap(); } @Override public void cleanUp() { delegate().cleanUp(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java
* 4. We expect the client thread's interrupt state to be false. * 5. The client thread again makes a blocking call to get(). * 6. Now the result becomes available. * 7. We expect get() to return this result. * 8. We expect the test thread's interrupt state to be false. */ InterruptionUtil.requestInterruptIn(200, TimeUnit.MILLISECONDS);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 9.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TableCollectors.java
return Collector.of( ImmutableTableCollectorState<R, C, V>::new, (state, input) -> state.put( rowFunction.apply(input), columnFunction.apply(input), valueFunction.apply(input), mergeFunction), (s1, s2) -> s1.combine(s2, mergeFunction), state -> state.toTable()); } static < T extends @Nullable Object,
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Mar 09 00:21:17 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java
cacheNoStats.put(TEST_KEY, TEST_VALUE); } @Benchmark void concurrentHashMap(int rep) { for (int i = 0; i < rep; i++) { map.get(TEST_KEY); } } @Benchmark void cacheBuilder_stats(int rep) { for (int i = 0; i < rep; i++) { cache.getIfPresent(TEST_KEY); } } @Benchmark void cacheBuilder(int rep) { for (int i = 0; i < rep; i++) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
super.tearDown(); } public void testListenerDoesNotRunUntilTaskCompletes() throws Exception { // Test default state of not started. assertEquals(1, listenerLatch.getCount()); assertFalse(task.isDone()); assertFalse(task.isCancelled()); // Start the task to put it in the RUNNING state. Have to use a separate // thread because the task will block on the task latch after unblocking // the run latch.
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4.7K bytes - Viewed (0)