- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 857 for callable (0.12 sec)
-
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
* CollectionRemoveTester.testRemove_nullAllowed, but it's not clear that it's * a good policy, especially because, in order for the test to pass, the * parameter must be misleadingly annotated as @Nullable. I suspect that * we'll want to remove @Nullable, add an eager checkNotNull, and loosen up * testRemove_nullAllowed. */ @CanIgnoreReturnValue @Override public int remove(@CheckForNull Object element, int occurrences) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
@Override void assertFailsToDecode( BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) { assertThat(encoding.canDecode(cannotDecode)).isFalse(); } }, DECODE { @Override void assertFailsToDecode( BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) { try { encoding.decode(cannotDecode);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 16:27:30 UTC 2024 - 24.6K bytes - Viewed (0) -
guava/src/com/google/common/hash/BloomFilterStrategies.java
import java.math.RoundingMode; import java.util.Arrays; import java.util.concurrent.atomic.AtomicLongArray; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Collections of strategies of generating the k * log(M) bits required for an element to be mapped * to a BloomFilter of M bits and k hash functions. These strategies are part of the serialized form
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 10.7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java
import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import com.google.common.cache.LocalCache.Segment; import org.checkerframework.checker.nullness.qual.Nullable; /** * Benchmark for {@code LocalCache.Segment.removeEntryFromChain}. * * @author Charles Fry */ @SuppressWarnings("CheckReturnValue") public class ChainBenchmark {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:19:38 UTC 2023 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestSortedSetGenerator.java
import java.util.SortedSet; import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates sorted sets, containing sample elements, to be tested. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface TestSortedSetGenerator<E extends @Nullable Object> extends TestSetGenerator<E> { @Override SortedSet<E> create(Object... elements); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java
* limitations under the License. */ package com.google.common.eventbus.outside; import com.google.common.eventbus.EventBus; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Abstract base class for tests that EventBus finds the correct subscribers. * * <p>The actual tests are distributed among the other classes in this package based on whether they
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:19:38 UTC 2023 - 1.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestSortedSetGenerator.java
import java.util.SortedSet; import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates sorted sets, containing sample elements, to be tested. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface TestSortedSetGenerator<E extends @Nullable Object> extends TestSetGenerator<E> { @Override SortedSet<E> create(Object... elements); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* Tests that {@code cls} properly checks null on all constructor and method parameters that * aren't annotated nullable (according to the rules of {@link NullPointerTester}). In details: * * <ul> * <li>All non-private static methods are checked such that passing null for any parameter * that's not annotated nullable should throw {@link NullPointerException}.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:18:12 UTC 2024 - 32.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Uninterruptibles.java
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.Lock; import org.checkerframework.checker.nullness.qual.Nullable; /** * Utilities for treating interruptible operations as uninterruptible. In all cases, if a thread is * interrupted during such a call, the call continues to block until the result is available or the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 19.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
public void execute(Runnable command) { command.run(); runCount++; } } private final class MockCallback implements FutureCallback<String> { @Nullable private String value = null; @Nullable private Throwable failure = null; private boolean wasCalled = false; private final Object monitor = new Object(); MockCallback(String expectedValue) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 6.6K bytes - Viewed (0)