Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCapacityCalculation (1.27 sec)

  1. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                assertEquals(8L * 2048L * 512L, smbInfoAllocation.getFree());
            }
    
            @Test
            @DisplayName("Should calculate capacity correctly")
            void testCapacityCalculation() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[24];
                buffer[4] = 0x04; // sectPerAlloc = 4
                buffer[8] = 0x00;
                buffer[9] = 0x20; // alloc = 8192
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top