- Sort Score
- Num 10 results
- Language All
Results 2391 - 2400 of 2,767 for user (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
assertThat(expected).hasMessageThat().contains("testCheckNoOverflow_failure(0, 0)"); } public void testNulls() { /* * Don't bother testing. All non-primitive parameters are used only to construct error messages. * We never want to pass null for them, so we haven't annotated them to say that null is * allowed. But at the same time, it seems wasteful to bother inserting the checkNotNull calls
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ReflectionFreeAssertThrows.java
e -> e instanceof InvocationTargetException, StackOverflowError.class, e -> e instanceof StackOverflowError); } }; // used under GWT, etc., since the override of this method does not exist there ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() { return ImmutableMap.of(); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/SubtypeTester.java
* } * } * * The calls to {@link #isSubtype} and {@link #notSubtype} tells the framework what assertions need * to be made. * * <p>The declaration methods must be public. */ @AndroidIncompatible // only used by android incompatible tests. @NullUnmarked abstract class SubtypeTester implements Cloneable { /** Annotates a public method that declares subtype assertion. */ @RequiredModifiers(modifier = Modifier.PUBLIC)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
* Tests representing the contract of {@link Map}. Concrete subclasses of this base class test * conformance of concrete {@link Map} subclasses to that contract. * * @param <K> the type of keys used by the maps under test * @param <V> the type of mapped values used the maps under test * @author George van den Driessche */ // TODO: Descriptive assertion messages, with hints as to probable fixes.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java
* * @since 33.4.0 (but since 22.0 in the JRE flavor) */ @IgnoreJRERequirement // Users will use this only if they're already using streams. public static ImmutableDoubleArray copyOf(DoubleStream stream) { // Note this uses very different growth behavior from copyOf(Iterable) and the builder. double[] array = stream.toArray();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 22.7K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/ImmutableIntArray.java
* * @since 33.4.0 (but since 22.0 in the JRE flavor) */ @IgnoreJRERequirement // Users will use this only if they're already using streams. public static ImmutableIntArray copyOf(IntStream stream) { // Note this uses very different growth behavior from copyOf(Iterable) and the builder. int[] array = stream.toArray();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 21.9K bytes - Click Count (0) -
cmd/object-handlers_test.go
// Used in test case 4. case TooBigObject: req.ContentLength = globalMaxObjectSize + 1 // Malformed signature. // Used in test case 6. case BadSignature: req.Header.Set("authorization", req.Header.Get("authorization")+"a") // Setting an invalid Content-MD5 to force a Md5 Mismatch error. // Used in tesr case 7. case BadMD5:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 163.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
} // Tests for Scheduler: // These constants are arbitrary and just used to make sure that the correct method is called // with the correct parameters. private static final int INITIAL_DELAY = 10; private static final int DELAY = 20; private static final TimeUnit UNIT = MILLISECONDS; // Unique runnable object used for comparison. @SuppressWarnings("AnonymousToLambda") final Runnable testRunnable =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 22.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
} // Tests for Scheduler: // These constants are arbitrary and just used to make sure that the correct method is called // with the correct parameters. private static final int INITIAL_DELAY = 10; private static final int DELAY = 20; private static final TimeUnit UNIT = MILLISECONDS; // Unique runnable object used for comparison. @SuppressWarnings("AnonymousToLambda") final Runnable testRunnable =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 22.8K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
class EdgeCaseTests { @Test @DisplayName("Should handle multiple operations correctly") void testMultipleOperations() throws NdrException { // Given: NdrShort that will be used multiple times NdrShort ndrShort = new NdrShort(50); NdrBuffer buffer1 = mock(NdrBuffer.class); NdrBuffer buffer2 = mock(NdrBuffer.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.2K bytes - Click Count (0)