- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 924 for calc (0.09 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java
E[] array = createArrayWithNullElement(); resetContainer(getSubjectGenerator().create(array)); } /** * Equivalent to {@link #expectMissing(Object[]) expectMissing}{@code (null)} except that the call * to {@code contains(null)} is permitted to throw a {@code NullPointerException}. * * @param message message to use upon assertion failure */ protected void expectNullMissingWhenNullUnsupported(String message) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java
E[] array = createArrayWithNullElement(); resetContainer(getSubjectGenerator().create(array)); } /** * Equivalent to {@link #expectMissing(Object[]) expectMissing}{@code (null)} except that the call * to {@code contains(null)} is permitted to throw a {@code NullPointerException}. * * @param message message to use upon assertion failure */ protected void expectNullMissingWhenNullUnsupported(String message) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java
// Constructor accepts null principal without throwing exception NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, null); // getRemoteUser() will throw NPE when trying to call getName() on null principal assertThrows(NullPointerException.class, () -> request.getRemoteUser()); assertNull(request.getUserPrincipal()); assertEquals("NTLM", request.getAuthType()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java
import java.util.Optional; import org.apache.maven.api.Project; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; /** * Result of a project build call. * * @since 4.0.0 */ @Experimental public interface ProjectBuilderResult extends Result<ProjectBuilderRequest> { /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 29 08:17:07 UTC 2025 - 2.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt
sourcePos += bytesToRead return bytesToRead } // Read from upstream. This always reads a full buffer: that might be more than what the // current call to Source.read() has requested. try { val upstreamBytesRead = upstream!!.read(upstreamBuffer, bufferMaxSize) // If we've exhausted upstream, we're done. if (upstreamBytesRead == -1L) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 17:15:47 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
} when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath()); // First call should read the file NbtAddress result1 = lmhosts.getByName("TESTHOST", mockContext); assertNotNull(result1); // Second call should use cached data (file not modified) NbtAddress result2 = lmhosts.getByName("TESTHOST", mockContext); assertNotNull(result2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt
cause().isNotNull().all { hasMessage( "Platform applicationContext not initialized. " + "Startup Initializer possibly disabled, " + "call OkHttp.initialize before test.", ) hasClass<IOException>() } } } companion object { @AfterClass @JvmStatic fun resetContext() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 16:25:39 UTC 2025 - 2.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
fun wrap(eventListenerFactory: EventListener.Factory) = EventListener.Factory { call -> ClientRuleEventListener(eventListenerFactory.create(call), ::addEvent) } /** * Returns an OkHttpClient for tests to use as a starting point. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 10.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
* e.g., to check ordering in lists, but realize that <strong>unless a test extends {@link * com.google.common.collect.testing.testers.AbstractListTester AbstractListTester}, a call to * {@code expectContents()} invokes this version</strong>. * * @param expected expected value of {@link #container} */ /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
assertThat(e).hasCauseThat().isEqualTo(exception); } public static <T> Callable<T> callableThrowing(Exception exception) { return new Callable<T>() { @Override public T call() throws Exception { throw exception; } }; } private static Runnable runnableThrowing(RuntimeException e) { return new Runnable() { @Override public void run() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.1K bytes - Viewed (0)