- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for setRemainingBytes (0.12 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
@DisplayName("Should set remaining bytes correctly") void testSetRemainingBytes() { assertDoesNotThrow(() -> request.setRemainingBytes(0)); assertDoesNotThrow(() -> request.setRemainingBytes(1024)); assertDoesNotThrow(() -> request.setRemainingBytes(Integer.MAX_VALUE)); } @ParameterizedTest @DisplayName("Should handle various padding values")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
@Test @DisplayName("Should set remaining bytes") void testSetRemainingBytes() { assertDoesNotThrow(() -> request.setRemainingBytes(0)); assertDoesNotThrow(() -> request.setRemainingBytes(1024)); assertDoesNotThrow(() -> request.setRemainingBytes(Integer.MAX_VALUE)); } @Test @DisplayName("Should set write flags") void testSetWriteFlags() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
} /** * Sets the number of bytes remaining to be read after this request * * @param remainingBytes * the remainingBytes to set */ public void setRemainingBytes(final int remainingBytes) { this.remainingBytes = remainingBytes; } /** * Add RDMA channel information for direct memory access * * @param remoteKey remote memory key
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
request.setReadLength(r); // Optimization: Set remaining bytes hint for server read-ahead request.setRemainingBytes(Math.min(len - r, 1024 * 1024)); // Hint up to 1MB for read-ahead try { final Smb2ReadResponse resp = th.send(request, RequestParam.NO_RETRY);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java
} /** * Sets the number of bytes remaining to be written in a sequence of write operations. * * @param remainingBytes the remainingBytes to set */ public void setRemainingBytes(final int remainingBytes) { this.remainingBytes = remainingBytes; } /** * Sets the write operation flags. * * @param writeFlags the writeFlags to set */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
request.setOffset(this.fp); request.setReadLength(r); request.setRemainingBytes(len - off); try { final Smb2ReadResponse resp = th.send(request, RequestParam.NO_RETRY); n = resp.getDataLength();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0)