- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 251 for readDirect (0.23 seconds)
-
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/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
* * @throws IOException if a network error occurs */ @Override public int read(final byte[] b, final int off, final int len) throws IOException { return readDirect(b, off, len); } /** * Reads up to len bytes of data from this input stream into an array of bytes. * * @param b the buffer into which the data is readCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
* * @throws IOException * if a network error occurs */ @Override public int read(final byte[] b, final int off, final int len) throws IOException { return readDirect(b, off, len); } /** * Reads up to len bytes of data from this input stream into an array of bytes. * Optimized for better performance with larger read sizes and reduced round trips. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K 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) -
src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/webapp/WEB-INF/orig/view/error/redirect.jsp
Shinsuke Sugaya <******@****.***> 1771833824 +0900
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 1.3K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/error/redirect.jsp
Shinsuke Sugaya <******@****.***> 1770697442 +0900
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Tue Feb 10 04:24:02 GMT 2026 - 1.3K bytes - Click Count (0) -
src/main/webapp/WEB-INF/web.xml
<error-code>400</error-code> <location>/WEB-INF/view/error/redirect.jsp?type=badRequest</location> </error-page> <error-page> <error-code>401</error-code> <location>/WEB-INF/view/error/redirect.jsp?type=badAuth</location> </error-page> <error-page> <error-code>403</error-code> <location>/WEB-INF/view/error/redirect.jsp?type=logOut</location> </error-page> <error-page>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 09:08:35 GMT 2026 - 8.5K bytes - Click Count (0)