Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for getTotalBytesWritten (0.12 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.8K bytes
    - Click Count (0)
  2. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  3. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top