- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 1,634 for Must (0.01 seconds)
-
android/guava/src/com/google/common/base/Present.java
@Override public <V> Optional<V> transform(Function<? super T, V> function) { return new Present<>( checkNotNull( function.apply(reference), "the Function passed to Optional.transform() must not return null.")); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof Present) { Present<?> other = (Present<?>) obj; return reference.equals(other.reference);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Apr 15 22:14:00 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java
* {@link com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3")Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllTester.java
* invoked directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author Chris Povirk */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3")Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
* unequivocally demonstrate that funneling cannot be occurring. This is done bit-by-bit. For each * input bit(i) and output bit(j), two pairs of keys must be found with all bits identical except * bit(i). One pair must differ in output bit(j), and one pair must not. This proves that input * bit(i) can alter output bit(j). */ static void checkNoFunnels(HashFunction function) { Random rand = new Random(0);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 25.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/PluginPrefixResolver.java
public interface PluginPrefixResolver { /** * Resolves the plugin prefix for the specified request. * * @param request The request that holds the details about the plugin and the repositories to consult, must not be * {@code null}. * @return The result of the prefix resolution, never {@code null}. * @throws NoPluginFoundForPrefixException If the plugin prefix could not be resolved. */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetTester.java
import com.google.common.collect.testing.AbstractCollectionTester; import org.junit.Ignore; /** * Base class for multiset collection tests. * * @author Jared Levy */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3")Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionSizeTester.java
* directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}. * * @author Kevin Bourrillion */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3")Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.4K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
// This is a bit of a hack but lets us do quicker per-character checks in // the fast path code. The safe min/max values are very unlikely to extend // into the range of surrogate characters, but if they do we must not test // any values in that range. To see why, consider the case where: // safeMin <= {hi,lo} <= safeMax // where {hi,lo} are characters forming a surrogate pair such that: // codePointOf(hi, lo) > safeMaxCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 8.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
// are nicer though and will fail-fast. checkArgument( priority >= Thread.MIN_PRIORITY, "Thread priority (%s) must be >= %s", priority, Thread.MIN_PRIORITY); checkArgument( priority <= Thread.MAX_PRIORITY, "Thread priority (%s) must be <= %s", priority, Thread.MAX_PRIORITY); this.priority = priority; return this; } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:35:26 GMT 2025 - 9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt
assertFailsWith<IllegalArgumentException> { OkHttpClient .Builder() .protocols(protocols as List<Protocol>) }.also { expected -> assertThat(expected.message).isEqualTo("protocols must not contain null") } } @Test fun spdy3IsRemovedFromProtocols() { val protocols = mutableListOf( Protocol.HTTP_1_1, Protocol.SPDY_3, ) val client =
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 13.4K bytes - Click Count (1)