- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getTotalBytesWritten (0.07 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
assertEquals(4096, response1.getChunkBytesWritten()); assertEquals(40960, response1.getTotalBytesWritten()); assertEquals(20, response2.getChunksWritten()); assertEquals(8192, response2.getChunkBytesWritten()); assertEquals(163840, response2.getTotalBytesWritten()); } private byte[] createValidCopyChunkResponse(int chunks, int chunkBytes, int totalBytes) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java
return this.chunksWritten; } /** * Gets the total number of bytes written in the copy operation * @return the totalBytesWritten */ public int getTotalBytesWritten() { return this.totalBytesWritten; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
log.debug(String.format("Wrote %d bytes (%d chunks, last partial write %d)", r.getTotalBytesWritten(), r.getChunksWritten(), r.getChunkBytesWritten())); } ooff += r.getTotalBytesWritten(); } catch (final SmbException e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
SrvCopyChunkCopyResponse od = resp.getOutputData(SrvCopyChunkCopyResponse.class); assertEquals(1, od.getChunksWritten()); assertEquals(2, od.getChunkBytesWritten()); assertEquals(3, od.getTotalBytesWritten()); // Type mismatch should raise SmbException assertThrows(SmbException.class, () -> resp.getOutputData(SrvRequestResumeKeyResponse.class)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0)