- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 581 for caching (0.03 sec)
-
android/guava/src/com/google/common/collect/ForwardingConcurrentMap.java
import org.jspecify.annotations.Nullable; /** * A concurrent map which forwards all its method calls to another concurrent map. Subclasses should * override one or more methods to modify the behavior of the backing map as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>{@code default} method warning:</b> This class forwards calls to <i>only some</i> {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 18 16:58:16 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/SmallCharMatcher.java
// of dependencies. // Represents how tightly we can pack things, as a maximum. private static final double DESIRED_LOAD_FACTOR = 0.5; /** * Returns an array size suitable for the backing array of a hash table that uses open addressing * with linear probing in its implementation. The returned size is the smallest power of two that * can hold setSize elements with the desired load factor. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMapEntry.java
import java.util.Objects; import org.jspecify.annotations.Nullable; /** * A map entry which forwards all its method calls to another map entry. Subclasses should override * one or more methods to modify the behavior of the backing map entry as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>Warning:</b> The methods of {@code ForwardingMapEntry} forward <i>indiscriminately</i> to
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
} public void testAddAfterRun() throws Exception { // Run the previous test testRunOnPopulatedList(); // If it passed, then verify an Add will be executed without calling run CountDownLatch countDownLatch = new CountDownLatch(1); list.add(new MockRunnable(countDownLatch), newCachedThreadPool()); assertTrue(countDownLatch.await(1L, SECONDS)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
* value with {@code asBytes()} as the least-significant bytes and {@code 0x00} as the remaining * most-significant bytes. * * @since 14.0 (since 11.0 as {@code Hashing.padToLong(HashCode)}) */ public abstract long padToLong(); /** * Returns the value of this hash code as a byte array. The caller may modify the byte array;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingBlockingDeque.java
import org.jspecify.annotations.Nullable; /** * A {@link BlockingDeque} which forwards all its method calls to another {@code BlockingDeque}. * Subclasses should override one or more methods to modify the behavior of the backing deque as * desired per the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>Warning:</b> The methods of {@code ForwardingBlockingDeque} forward <b>indiscriminately</b>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
import okhttp3.internal.connection.asBufferedSocket import okio.Socket import okio.utf8Size private typealias Action = (BufferedSocket) -> Unit /** * A scriptable request/response conversation. Create the script by calling methods like * [receiveRequest] in the sequence they are run. */ class MockSocketHandler : SocketHandler { private val actions = LinkedBlockingQueue<Action>()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/SneakyThrows.java
* fact the static type of {@link Throwable} is occasionally justified even for a method with no * {@code throws} clause: Some such methods can in fact throw a checked exception (e.g., by * calling code written in Kotlin).) Typically, we want to let a {@link Throwable} from such a * method propagate untouched, just as we'd typically let it do for a non-reflective call.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 03 21:52:39 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/ForwardingLoadingCache.java
import java.util.concurrent.ExecutionException; /** * A cache which forwards all its method calls to another cache. Subclasses should override one or * 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>. * * <p>Note that {@link #get}, {@link #getUnchecked}, and {@link #apply} all expose the same
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SneakyThrows.java
* fact the static type of {@link Throwable} is occasionally justified even for a method with no * {@code throws} clause: Some such methods can in fact throw a checked exception (e.g., by * calling code written in Kotlin).) Typically, we want to let a {@link Throwable} from such a * method propagate untouched, just as we'd typically let it do for a non-reflective call.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Dec 30 18:44:22 UTC 2024 - 2.4K bytes - Viewed (0)