- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 126 for igloader (0.05 seconds)
-
src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java
} /** * Returns the class loader. * <p> * The class loader is searched in the following order: * </p> * <ol> * <li>If the context class loader is set for the calling thread, that context class loader</li> * <li>If the class loader that loaded the target class can be obtained, that class loader</li> * <li>If the class loader that loaded this class can be obtained, that class loader</li>Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 7.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/internal/Finalizer.java
* * <p>This class can't depend on other Guava code. If we were to load this class in the same class * loader as the rest of Guava, this thread would keep an indirect strong reference to the class * loader and prevent it from being garbage collected. This poses a problem for environments where * you want to throw away the class loader. For example, dynamically reloading a web application or * unloading an OSGi bundle. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 03:19:29 GMT 2026 - 9.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
* {@link CacheLoader#load} calls to {@code loader}. */ static <K, V> CacheLoader<K, V> bulkLoader(CacheLoader<K, V> loader) { checkNotNull(loader); return new CacheLoader<K, V>() { @Override public V load(K key) throws Exception { return loader.load(key); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 5.1K bytes - Click Count (0) -
android/guava/src/com/google/common/base/FinalizableReferenceQueue.java
* * If the library is loaded in an application class loader, we try to break the cycle by loading * Finalizer in its own independent class loader: * * System class loader -> Application class loader -> ReferenceMap -> FinalizableReferenceQueue -> * etc. -> Decoupled class loader -> Finalizer * * Now, Finalizer no longer keeps an indirect strong reference to the static
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 19:26:59 GMT 2026 - 15.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
}; cache.put(0, 10); assertThat(cache.get(0, loader)).isEqualTo(10); assertThat(cache.get(20, loader)).isEqualTo(1); assertThat(cache.get(34, loader)).isEqualTo(2); cache.invalidate(0); assertThat(cache.get(0, loader)).isEqualTo(3); cache.put(0, 10); cache.invalidateAll(); assertThat(cache.get(0, loader)).isEqualTo(4); } @Test public void sizeConstraint() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java
* * @param classLoader the class loader (must not be {@literal null}) * @return an {@link Iterable} wrapping a {@link ClassLoaderIterator} */ public static Iterable<ClassLoader> iterable(final ClassLoader classLoader) { return () -> new ClassLoaderIterator(classLoader); } /** * Constructs an instance. * * @param classLoader the class loader (must not be {@literal null}) */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
CountingLoader loader = new CountingLoader(); LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder()); assertThat(loader.getCount()).isEqualTo(0); Object key = new Object(); Object value = map.get(key, loader); assertThat(loader.getCount()).isEqualTo(1); assertThat(map.get(key, loader)).isEqualTo(value); assertThat(loader.getCount()).isEqualTo(1); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 114.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
CountingLoader loader = new CountingLoader(); LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder()); assertThat(loader.getCount()).isEqualTo(0); Object key = new Object(); Object value = map.get(key, loader); assertThat(loader.getCount()).isEqualTo(1); assertThat(map.get(key, loader)).isEqualTo(value); assertThat(loader.getCount()).isEqualTo(1); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 116.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
ImmutableSet.of( new ResourceInfo(FILE, "left/some.txt", loader), new ResourceInfo(FILE, "left/sibling/another.txt", loader), new ResourceInfo(FILE, "right/another.txt", loader), new ResourceInfo(FILE, "right/sibling/some.txt", loader)), new ClassPath.LocationInfo(root.toFile(), loader).scanResources()); } finally { deleteRecursivelyOrLog(root); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 25.8K bytes - Click Count (0) -
guava/src/com/google/common/cache/Cache.java
* CacheLoader#loadAll bulk loading implementations} * </ul> * * <p><b>Warning:</b> For any given key, every {@code loader} used with it should compute the same * value. Otherwise, a call that passes one {@code loader} may return the result of another call * with a differently behaving {@code loader}. For example, a call that requests a short timeout * for an RPC may wait for a similar call that requests a long timeout, or a call by anCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 8K bytes - Click Count (0)