- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 80 for readDirect (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
} @Test @DisplayName("readDirect with len <= 0 returns 0") void readDirectZeroLen() throws Exception { SmbFileInputStream in = newStream(); byte[] buf = new byte[4]; assertEquals(0, in.readDirect(buf, 0, 0)); assertEquals(0, in.read(new byte[0])); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
} @Test @DisplayName("recv delegates to input.readDirect and returns its value") void testRecvDelegation() throws Exception { SmbPipeHandleImpl spyTarget = spy(target); SmbPipeInputStream in = mock(SmbPipeInputStream.class); doReturn(in).when(spyTarget).getInput(); when(in.readDirect(any(), anyInt(), anyInt())).thenReturn(7); byte[] b = new byte[10];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
return in.read(inB); } } @Override public int recv(final byte[] buf, final int off, final int len) throws IOException { return getInput().readDirect(buf, off, len); } @Override public void send(final byte[] buf, final int off, final int length) throws IOException { getOutput().writeDirect(buf, off, length, 1); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
doReturn(mockIn).when(spyHandle).getInput(); when(mockIn.readDirect(any(byte[].class), anyInt(), anyInt())).thenReturn(5); byte[] b = new byte[10]; int n = spyHandle.recv(b, 1, 3); assertEquals(5, n); verify(mockIn).readDirect(eq(b), eq(1), eq(3)); } @Test @DisplayName("send delegates to output.writeDirect with args")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
) { } /** * Invoked just prior to a DNS lookup. See [Dns.lookup]. * * This can be invoked more than 1 time for a single [Call]. For example, if the response to the * [Call.request] is a redirect to a different host. * * If the [Call] is able to reuse an existing pooled connection, this method will not be invoked. * See [ConnectionPool]. */ open fun dnsStart( call: Call,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 21:03:04 GMT 2025 - 24.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java
} /** * Gets the OpenID Connect redirect URL. * * @return the redirect URL */ protected String getOicRedirectUrl() { return ComponentUtil.getSystemProperties().getProperty(OIC_REDIRECT_URL, buildDefaultRedirectUrl()); } /** * Builds a default redirect URL for OpenID Connect based on the environment.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Dec 14 01:18:25 GMT 2025 - 16.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
println("Proxy Server 1 is ${server1.socketAddress}") println("Proxy Server 2 is ${server2.socketAddress}") // Since myproxy:8008 won't resolve, redirect with DNS to proxyServer1 // Then redirect socket connection to server1 dns["myproxy"] = listOf(proxyServer1) socketFactory[proxyServer1] = server1.socketAddress client = client.newBuilder().proxySelector(proxySelector).build()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 10 15:25:06 GMT 2026 - 11.8K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
"tls.keylog_file:$logFile", "-Y", "http2", "-O", "http2,tls", ).redirectInput(File("/dev/null")) .redirectOutput(Redirect.INHERIT) .redirectError(Redirect.INHERIT) .start() } Gui -> { return ProcessBuilder( "nohup", "wireshark", "-o",Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java
} }).orElse(() -> { throwValidationError(messages -> messages.addErrorsCrudFailedToCreateInstance(GLOBAL), this::asEditHtml); }); return redirect(getClass()); } /** * Updates an existing duplicate host configuration. * * @param form the edit form containing updated duplicate host dataCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 15.6K bytes - Click Count (0) -
docs/sts/web-identity.md
MINIO_IDENTITY_OPENID_KEYCLOAK_ADMIN_URL (string) Specify Keycloak 'admin' REST API endpoint e.g. http://localhost:8080/auth/admin/ MINIO_IDENTITY_OPENID_REDIRECT_URI_DYNAMIC (on|off) Enable 'Host' header based dynamic redirect URI (default: 'off') MINIO_IDENTITY_OPENID_COMMENT (sentence) optionally add a comment to this setting ``` ### Access Control Configuration Variables
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 18.9K bytes - Click Count (0)