- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for loadCount (0.03 sec)
-
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertEquals(0, stats.hitCount()); assertThat(stats.hitRate()).isEqualTo(0.0); assertEquals(1, stats.missCount()); assertThat(stats.missRate()).isEqualTo(1.0); assertEquals(1, stats.loadCount()); long totalLoadTime = stats.totalLoadTime(); assertTrue(totalLoadTime >= 0); assertTrue(stats.averageLoadPenalty() >= 0.0); assertEquals(0, stats.evictionCount()); cache.getUnchecked(one);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
public void test_getDataStoreNames_caching() { // Mock the loadDataStoreNameList to control behavior final int[] loadCount = { 0 }; DataStoreFactory testFactory = new DataStoreFactory() { @Override protected List<String> loadDataStoreNameList() { loadCount[0]++; return List.of("Store1", "Store2"); } }; // First call should load
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* guaranteed not to throw an exception). If you require specific handling, we recommend * implementing your own stats collector. */ public long loadCount() { return saturatedAdd(loadSuccessCount, loadExceptionCount); } /** * Returns the number of times {@link Cache} lookup methods have successfully loaded a new value.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0)