- Sort Score
- Result 10 results
- Languages All
Results 631 - 640 of 817 for Callable (0.1 sec)
-
guava/src/com/google/common/collect/CompactHashing.java
} static int remove( @CheckForNull Object key, @CheckForNull Object value, int mask, Object table, int[] entries, @Nullable Object[] keys, @CheckForNull @Nullable Object[] values) { int hash = Hashing.smearedHash(key); int tableIndex = hash & mask; int next = tableGet(table, tableIndex); if (next == UNSET) { return -1; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 15:34:52 UTC 2024 - 7.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
import com.google.errorprone.annotations.OverridingMethodsMustInvokeSuper; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.checkerframework.checker.nullness.qual.Nullable; import org.junit.Ignore; /** * Base class for testers of classes (including {@link Collection} and {@link java.util.Map Map}) * that contain elements. * * @param <C> the type of the container
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
} public void testOfEntriesNull() { Entry<@Nullable Integer, Integer> nullKey = entry(null, 23); assertThrows( NullPointerException.class, () -> ImmutableBiMap.ofEntries((Entry<Integer, Integer>) nullKey)); Entry<Integer, @Nullable Integer> nullValue = ImmutableBiMapTest.<@Nullable Integer>entry(23, null); assertThrows( NullPointerException.class,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
.testEquals(); } public void testOfEntriesNull() { Entry<@Nullable Integer, @Nullable Integer> nullKey = entry(null, 23); assertThrows( NullPointerException.class, () -> ImmutableMap.ofEntries((Entry<Integer, Integer>) nullKey)); Entry<@Nullable Integer, @Nullable Integer> nullValue = entry(23, null); assertThrows( NullPointerException.class,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
assertArrayEquals(bytes, processedBytes); } public void testRead_withProcessor_stopsOnFalse() throws IOException { ByteProcessor<@Nullable Void> processor = new ByteProcessor<@Nullable Void>() { boolean firstCall = true; @Override public boolean processBytes(byte[] buf, int off, int len) throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 15.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java
import java.lang.reflect.Method; import java.util.List; import java.util.ListIterator; import java.util.Set; import java.util.concurrent.CopyOnWriteArraySet; import org.checkerframework.checker.nullness.qual.Nullable; import org.junit.Ignore; /** * A generic JUnit test which tests {@code listIterator} operations on a list. Can't be invoked * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ExecutionError.java
* non-nullable {@code cause}, as many users expect to find one. */ public ExecutionError(@CheckForNull String message, @CheckForNull Error cause) { super(message, cause); } /** * Creates a new instance with {@code null} as its detail message and the given cause. Prefer to * provide a non-nullable {@code cause}, as many users expect to find one. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Mar 07 17:52:19 UTC 2024 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeMultisetTest.java
assertEquals(comparator, elementSet.comparator()); } public void testNullAcceptingComparator() throws Exception { Comparator<@Nullable String> comparator = Ordering.<String>natural().<String>nullsFirst(); TreeMultiset<@Nullable String> ms = TreeMultiset.create(comparator); ms.add("b"); ms.add(null); ms.add("a"); ms.add("b"); ms.add(null, 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 12.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
// instead of using an AtomicReferenceFieldUpdater. This reference stores Thread instances // and DONE/INTERRUPTED - they have a common ancestor of Runnable. abstract class InterruptibleTask<T extends @Nullable Object> extends AtomicReference<@Nullable Runnable> implements Runnable { static { // Prevent rare disastrous classloading in first call to LockSupport.park. // See: https://bugs.openjdk.java.net/browse/JDK-8074773
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 10.1K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
import static java.lang.Math.min; import com.google.common.annotations.GwtCompatible; import java.util.Map; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A {@link UnicodeEscaper} that uses an array to quickly look up replacement characters for a given * code point. An additional safe range is provided that determines whether code points without
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 8.6K bytes - Viewed (0)