Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for shouldCalculateFreeSpaceCorrectly (1.16 sec)

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

                assertEquals(4194304L, fileFsSizeInfo.getCapacity()); // 1024 * 8 * 512
            }
    
            @Test
            @DisplayName("Should calculate free space correctly")
            void shouldCalculateFreeSpaceCorrectly() throws SMBProtocolDecodingException {
                // Given
                long free = 512L;
                int sectPerAlloc = 8;
                int bytesPerSect = 512;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

            }
    
            @Test
            @DisplayName("Should calculate free space correctly using caller available units")
            void shouldCalculateFreeSpaceCorrectly() throws SMBProtocolDecodingException {
                // Given
                long callerFree = 512L;
                long actualFree = 600L; // Should be ignored
                int sectPerAlloc = 8;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
Back to top