- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for setRemaining (0.79 seconds)
-
src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java
this.openTimeout = openTimeout; } /** * Sets the remaining bytes count. * * @param remaining * the remaining to set */ public final void setRemaining(final int remaining) { this.remaining = remaining; } void setParam(final int fid, final long offset, final int maxCount) { this.fid = fid; this.offset = offset;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
// Use fixed 1024 values for named pipes request.setMinCount(1024); request.setMaxCount(1024); request.setRemaining(1024); } else if (this.largeReadX) { // Optimize large read requests request.setMaxCount(r & 0xFFFF);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/internal/smb2/io/Smb2WriteResponseTest.java
assertEquals(512, response.getRemaining()); // Second read - should update values byte[] buffer2 = createValidWriteResponse(2048, 1024); response.readBytesWireFormat(buffer2, 0); assertEquals(2048, response.getCount()); assertEquals(1024, response.getRemaining()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteResponse.java
public final int getCount() { return this.count; } /** * Returns the number of bytes remaining to be written. * * @return the remaining */ public final int getRemaining() { return this.remaining; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
assertEquals(1024, req.getMinCount(), "Named pipe minCount should be 1024"); assertEquals(1024, req.getMaxCount(), "Named pipe maxCount should be 1024"); assertEquals(1024, req.getRemaining(), "Named pipe remaining should be 1024"); } } @Nested @DisplayName("Lifecycle and exception mapping") class LifecycleAndExceptions { @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0)