- Sort Score
- Result 10 results
- Languages All
Results 1261 - 1270 of 1,443 for expected (0.04 sec)
-
src/main/java/org/codelibs/core/stream/StreamUtil.java
} /** * Executes the provided {@link Consumer} with a {@link Stream} obtained from the supplier. * The stream is automatically closed after the consumer is executed. * * @param stream the {@link Consumer} to process the {@link Stream} */ public void of(final Consumer<Stream<T>> stream) { try (Stream<T> s = supplier.get()) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
lenient().when(mockAddress.getHostName()).thenReturn("WORKSTATION"); } /** * Test case for when the 'Authorization' header is missing. * Expects the server to respond with a 'WWW-Authenticate: NTLM' header and a 401 status. * @throws IOException */ @Test public void testAuthenticate_NoAuthorizationHeader() throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/WrappingExecutorService.java
* wrap} tasks before they are submitted to the underlying executor. * * <p>Note that task wrapping may occur even if the task is never executed. * * <p>For delegation without task-wrapping, see {@link ForwardingExecutorService}. * * @author Chris Nokleberg */ @J2ktIncompatible @GwtIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 5.4K bytes - Viewed (0) -
docs/en/docs/tutorial/middleware.md
``` This results in the following execution order: * **Request**: MiddlewareB → MiddlewareA → route * **Response**: route → MiddlewareA → MiddlewareB This stacking behavior ensures that middlewares are executed in a predictable and controllable order. ## Other middlewares { #other-middlewares }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java
.url("https://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new CheckHandshake().run(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 2.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostStreaming.kt
url = "https://api.github.com/markdown/raw".toHttpUrl(), body = requestBody, ) client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } companion object { val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType() } } fun main() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.9K bytes - Viewed (0) -
cmd/global-heal.go
objAPI := newObjectLayerFn() if objAPI == nil { return errServerNotInitialized } started := tracker.Started if started.IsZero() || started.Equal(timeSentinel) { healingLogIf(ctx, fmt.Errorf("unexpected tracker healing start time found: %v", started)) started = time.Time{} } // Final tracer update before quitting defer func() { tracker.setObject("") tracker.setBucket("")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 04 13:49:12 UTC 2025 - 16.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
int n = readn(in, buffer, bufferIndex, HEADER_LENGTH); if (n != HEADER_LENGTH) { if (n == -1) { return -1; } throw new IOException("unexpected EOF reading netbios session header"); } return buffer[bufferIndex] & 0xFF; } int type, length; /** * Writes the packet to the specified byte array in wire format.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java
} private void assertQueryBuilder(final String expect, final String text) throws Exception { QueryContext queryContext = assertQueryBuilder(null, null, text); List<SortBuilder<?>> sortBuilders = queryContext.sortBuilders(); assertEquals(1, sortBuilders.size()); logger.info("{} => {}", text, sortBuilders.get(0).toString()); assertEquals(expect, sortBuilders.get(0).toString().replaceAll("[\s\n]", ""));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.4K bytes - Viewed (0)