- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 140 for Charles (0.45 sec)
-
android/guava/src/com/google/common/cache/ForwardingLoadingCache.java
* * <p>Note that {@link #get}, {@link #getUnchecked}, and {@link #apply} all expose the same * underlying functionality, so should probably be overridden as a group. * * @author Charles Fry * @since 11.0 */ @GwtIncompatible public abstract class ForwardingLoadingCache<K, V> extends ForwardingCache<K, V> implements LoadingCache<K, V> { /** Constructor for use by subclasses. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java
import java.util.concurrent.atomic.AtomicInteger; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link CacheLoader}. * * @author Charles Fry */ @NullUnmarked public class CacheLoaderTest extends TestCase { private static class QueuingExecutor implements Executor { private final Deque<Runnable> tasks = new ArrayDeque<>(); @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 3.8K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
import java.util.Random; import java.util.concurrent.atomic.AtomicLong; import org.jspecify.annotations.NullUnmarked; /** * Single-threaded benchmark for {@link LoadingCache}. * * @author Charles Fry */ @NullUnmarked public class LoadingCacheSingleThreadBenchmark { @Param({"1000", "2000"}) int maximumSize; @Param("5000") int distinctKeys; @Param("4") int segments;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/cache/ForwardingCache.java
* more methods to modify the behavior of the backing cache as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * @author Charles Fry * @since 10.0 */ @GwtIncompatible public abstract class ForwardingCache<K, V> extends ForwardingObject implements Cache<K, V> { /** Constructor for use by subclasses. */ protected ForwardingCache() {}
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/AbstractCacheTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link AbstractCache}. * * @author Charles Fry */ @NullUnmarked public class AbstractCacheTest extends TestCase { public void testGetIfPresent() { AtomicReference<Object> valueRef = new AtomicReference<>(); Cache<Object, Object> cache =Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 6.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
import java.util.concurrent.CountDownLatch; import java.util.concurrent.atomic.AtomicReference; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * @author Charles Fry */ @NullUnmarked public class LocalLoadingCacheTest extends TestCase { private static <K, V> LocalLoadingCache<K, V> makeCache( CacheBuilder<K, V> builder, CacheLoader<? super K, V> loader) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 13.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
* #put}, {@link #invalidateAll(Iterable)} is implemented in terms of {@link #invalidate}. The * method {@link #cleanUp} is a no-op. All other methods throw an {@link * UnsupportedOperationException}. * * @author Charles Fry * @since 10.0 */ @GwtCompatible public abstract class AbstractCache<K, V> implements Cache<K, V> { /** Constructor for use by subclasses. */ protected AbstractCache() {} /** * @since 11.0Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LoadingCache.java
* #getUnchecked}. * * @param <K> the type of the cache's keys, which are not permitted to be null * @param <V> the type of the cache's values, which are not permitted to be null * @author Charles Fry * @since 11.0 */ @GwtCompatible public interface LoadingCache<K, V> extends Cache<K, V>, Function<K, V> { /** * Returns the value associated with {@code key} in this cache, first loading that value if
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
* more simply: * * {@snippet : * CacheLoader<Key, Graph> loader = CacheLoader.from(key -> createExpensiveGraph(key)); * } * * @author Charles Fry * @since 10.0 */ @GwtCompatible public abstract class CacheLoader<K, V> { /** Constructor for use by subclasses. */ protected CacheLoader() {} /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/AbstractCache.java
* #put}, {@link #invalidateAll(Iterable)} is implemented in terms of {@link #invalidate}. The * method {@link #cleanUp} is a no-op. All other methods throw an {@link * UnsupportedOperationException}. * * @author Charles Fry * @since 10.0 */ @GwtCompatible public abstract class AbstractCache<K, V> implements Cache<K, V> { /** Constructor for use by subclasses. */ protected AbstractCache() {} /** * @since 11.0Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0)