Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getChunksWritten (0.07 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                // Each instance should maintain its own state
                assertEquals(10, response1.getChunksWritten());
                assertEquals(4096, response1.getChunkBytesWritten());
                assertEquals(40960, response1.getTotalBytesWritten());
    
                assertEquals(20, response2.getChunksWritten());
                assertEquals(8192, response2.getChunkBytesWritten());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java

        public int getChunkBytesWritten() {
            return this.chunkBytesWritten;
        }
    
        /**
         * Gets the number of chunks successfully written
         * @return the chunksWritten
         */
        public int getChunksWritten() {
            return this.chunksWritten;
        }
    
        /**
         * Gets the total number of bytes written in the copy operation
         * @return the totalBytesWritten
         */
        public int getTotalBytesWritten() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            assertEquals(16, resp.getFileId().length);
            assertEquals(12, resp.getOutputLength());
    
            SrvCopyChunkCopyResponse od = resp.getOutputData(SrvCopyChunkCopyResponse.class);
            assertEquals(1, od.getChunksWritten());
            assertEquals(2, od.getChunkBytesWritten());
            assertEquals(3, od.getTotalBytesWritten());
    
            // Type mismatch should raise SmbException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top