- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for setRemainingBytes (0.08 seconds)
-
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 keyCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.8K bytes - Click Count (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 */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.1K bytes - Click Count (0) -
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")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.8K bytes - Click Count (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() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.4K bytes - Click Count (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);
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/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();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 18.8K bytes - Click Count (0)