- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 383 for chain (0.01 sec)
-
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
@BeforeEach fun setUp() { client = OkHttpClient .Builder() .addNetworkInterceptor( Interceptor { chain -> when { extraNetworkInterceptor != null -> extraNetworkInterceptor!!.intercept(chain) else -> chain.proceed(chain.request()) } }, ).addNetworkInterceptor(networkInterceptor) .addInterceptor(applicationInterceptor)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 37.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java
} } return null; }; } @SafeVarargs static UnaryOperator<String> chain(UnaryOperator<String>... functions) { return chain(List.of(functions)); } /** * Memoizes a given function that takes a String input and produces a String output.Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jan 13 16:14:35 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* ListenableFuture}</a>. * * <p>This class is GWT-compatible. * * <h3>Purpose</h3> * * <p>The main purpose of {@code ListenableFuture} is to help you chain together a graph of * asynchronous operations. You can chain them together manually with calls to methods like {@link * Futures#transform(ListenableFuture, com.google.common.base.Function, Executor) Futures.transform}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
srvsvc.ShareInfo1 shareInfo1 = new srvsvc.ShareInfo1(); shareInfo1.netname = "TestShare"; shareInfo1.type = 1; shareInfo1.remark = "Test Remark"; // Set up deferred buffer chain to avoid NPE mockDeferredBuffer.deferred = mockDeferredBuffer; shareInfo1.encode(mockNdrBuffer); // Verify the encode operations verify(mockNdrBuffer).align(4);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
assumeNetwork() val trustManager = object : X509TrustManager { override fun checkClientTrusted( chain: Array<out X509Certificate>?, authType: String?, ) {} override fun checkServerTrusted( chain: Array<out X509Certificate>?, authType: String?, ) {}
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 14:12:28 UTC 2025 - 29K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
when(nextResponse.getNextResponse()).thenReturn(thirdResponse); when(thirdResponse.getNextResponse()).thenReturn(null); // When - navigate through chain CommonServerMessageBlockResponse second = response.getNextResponse(); CommonServerMessageBlockResponse third = second.getNextResponse(); CommonServerMessageBlockResponse end = third.getNextResponse();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
} public void testFutureGetThrowsRuntimeException() throws Exception { BadFuture badInput = new BadFuture(immediateFuture(20)); ListenableFuture<String> chain = buildChainingFuture(badInput); ExecutionException e = assertThrows(ExecutionException.class, () -> chain.get()); assertSame(RuntimeException.class, e.getCause().getClass()); } /** Proxy to throw a {@link RuntimeException} out of the {@link #get()} method. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
} public void testFutureGetThrowsRuntimeException() throws Exception { BadFuture badInput = new BadFuture(immediateFuture(20)); ListenableFuture<String> chain = buildChainingFuture(badInput); ExecutionException e = assertThrows(ExecutionException.class, () -> chain.get()); assertSame(RuntimeException.class, e.getCause().getClass()); } /** Proxy to throw a {@link RuntimeException} out of the {@link #get()} method. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.3K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
private fun createInsecureTrustManager(): X509TrustManager = object : X509TrustManager { override fun checkClientTrusted( chain: Array<X509Certificate>, authType: String, ) { } override fun checkServerTrusted( chain: Array<X509Certificate>, authType: String, ) { }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/internal/CommonServerMessageBlockRequest.java
* @return create cancel request */ CommonServerMessageBlockRequest createCancel(); /** * Checks if chaining is allowed with the next request. * * @param next the next request in the chain * @return whether to allow chaining */ boolean allowChain(CommonServerMessageBlockRequest next); /** * Sets the tree ID. * * @param t the tree ID to set */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0)