- Sort Score
- Result 10 results
- Languages All
Results 761 - 770 of 857 for callable (0.07 sec)
-
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
import java.util.Arrays; import javax.crypto.Mac; import javax.crypto.SecretKey; import javax.crypto.spec.SecretKeySpec; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; import sun.security.jca.ProviderList; import sun.security.jca.Providers; /** * Tests for the MacHashFunction. * * @author Kurt Alfred Kluever */ public class MacHashFunctionTest extends TestCase {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 13.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Platform.java
WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value); /* * We use `fromNullable` instead of `of` because `WeakReference.get()` has a nullable return * type. * * In practice, we are very unlikely to see `null`: The `WeakReference` to the enum constant * won't be cleared as long as the enum constant is referenced somewhere, and the enum constant
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 15 22:32:14 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
import java.util.stream.Collector; import java.util.stream.Stream; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit test for {@code Sets}. * * @author Kevin Bourrillion * @author Jared Levy */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class SetsTest extends TestCase {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 48.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
assertTrue("Unable to acquire initial permit", r.tryAcquire()); assertFalse("Capable of acquiring secondary permit", r.tryAcquire()); } public void testDoubleMinValueCanAcquireExactlyOnce() { RateLimiter r = RateLimiter.create(Double.MIN_VALUE, stopwatch); assertTrue("Unable to acquire initial permit", r.tryAcquire()); assertFalse("Capable of acquiring an additional permit", r.tryAcquire());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
assertTrue("Unable to acquire initial permit", r.tryAcquire()); assertFalse("Capable of acquiring secondary permit", r.tryAcquire()); } public void testDoubleMinValueCanAcquireExactlyOnce() { RateLimiter r = RateLimiter.create(Double.MIN_VALUE, stopwatch); assertTrue("Unable to acquire initial permit", r.tryAcquire()); assertFalse("Capable of acquiring an additional permit", r.tryAcquire());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.8K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
* Fix: Release the connection if `Authenticator` throws an exception. * Fix: Change the declaration of `OkHttpClient.cache()` to return a `@Nullable Cache`. The return value has always been nullable but it wasn't declared properly. * Fix: Reverse suppression of connect exceptions. When both a call and its retry fail, we now throw the initial exception which is most likely to be actionable.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeMap.java
import java.util.Map.Entry; import java.util.NoSuchElementException; import java.util.function.Function; import java.util.stream.Collector; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A {@link RangeMap} whose contents will never change, with many other important properties * detailed at {@link ImmutableCollection}. * * @author Louis Wasserman * @since 14.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 14.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/Striped64.java
import java.security.PrivilegedActionException; import java.security.PrivilegedExceptionAction; import java.util.Random; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; import sun.misc.Unsafe; /** * A package-local class holding common representation and mechanics for classes supporting dynamic
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 17:55:55 UTC 2024 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
* the reference is "absent"); it is never said to "contain {@code null}". * * <p>A non-null {@code Optional<T>} reference can be used as a replacement for a nullable {@code T} * reference. It allows you to represent "a {@code T} that must be present" and a "a {@code T} that * might be absent" as two distinct types in your program, which can aid clarity. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 15.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
import java.util.concurrent.FutureTask; import java.util.concurrent.TimeUnit; import junit.framework.TestCase; import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Generated tests for {@link Monitor}. * * <p>This test class generates all of its own test cases in the {@link #suite()} method. Every
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:18:12 UTC 2024 - 27.1K bytes - Viewed (0)