- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 356 for loader (0.07 sec)
-
guava-tests/test/com/google/common/cache/CacheEvictionTest.java
IdentityLoader<Object> loader = identityLoader(); for (int i = 1; i < 1000; i++) { LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().maximumSize(i).build(loader); assertEquals(i, CacheTesting.getTotalSegmentSize(cache)); } } public void testEviction_setMaxSegmentWeight() { IdentityLoader<Object> loader = identityLoader(); for (int i = 1; i < 1000; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 15K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
} } /** * On a concurrent computation that returns null, all threads should get an * InvalidCacheLoadException, with the loader only called once. The result should not be cached (a * later request should call the loader again). */ private static void testConcurrentLoadingNull(CacheBuilder<Object, Object> builder) throws InterruptedException { int count = 10;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 86.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java
public static CoreExtensionEntry discoverFrom(ClassRealm loader) { Set<String> artifacts = new LinkedHashSet<>(); Set<String> packages = new LinkedHashSet<>(); try { Enumeration<URL> urls = loader.getResources(BUILDER.getExtensionDescriptorLocation()); while (urls.hasMoreElements()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 14.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
CountingLoader loader = new CountingLoader(); LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder()); assertEquals(0, loader.getCount()); Object key = new Object(); Object value = map.get(key, loader); assertEquals(1, loader.getCount()); assertEquals(value, map.get(key, loader)); assertEquals(1, loader.getCount()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 110.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
CountingLoader loader = new CountingLoader(); LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder()); assertEquals(0, loader.getCount()); Object key = new Object(); Object value = map.get(key, loader); assertEquals(1, loader.getCount()); assertEquals(value, map.get(key, loader)); assertEquals(1, loader.getCount()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 112.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
return new Object(); } }; LocalLoadingCache<Object, Object> cache = makeCache(createCacheBuilder(), loader); assertSame(loader, cache.localCache.defaultLoader); } // null parameters test public void testNullParameters() throws Exception { NullPointerTester tester = new NullPointerTester(); CacheLoader<Object, Object> loader = identityLoader();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
return new Object(); } }; LocalLoadingCache<Object, Object> cache = makeCache(createCacheBuilder(), loader); assertSame(loader, cache.localCache.defaultLoader); } // null parameters test public void testNullParameters() throws Exception { NullPointerTester tester = new NullPointerTester(); CacheLoader<Object, Object> loader = identityLoader();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
throw e; } catch (final Exception e) { logger.warn("Failed to evaluate groovy script: {} => {}", template, paramMap, e); return null; } finally { final GroovyClassLoader loader = groovyShell.getClassLoader(); loader.clearCache(); } } @Override protected String getName() { return "groovy";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 17 12:10:08 UTC 2024 - 2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java
/** * Gets the class loader from which to load any types referenced by the configuration. If unset, the class loader of * the bean class will be used. * * @return The class loader to load referenced types from or {@code null} if unset. */ ClassLoader getClassLoader(); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0)