Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for shouldCalculateUsedSpaceCorrectly (0.23 sec)

  1. src/test/java/jcifs/internal/AllocInfoTest.java

                assertEquals(Long.MIN_VALUE, allocInfo.getFree());
            }
    
            @Test
            @DisplayName("Should calculate used space correctly")
            void shouldCalculateUsedSpaceCorrectly() {
                // Given
                long capacity = 1024L * 1024L * 1024L * 100L; // 100GB
                long free = 1024L * 1024L * 1024L * 40L; // 40GB
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                assertEquals(FileSystemInformation.FS_SIZE_INFO, allocInfo.getFileSystemInformationClass());
            }
    
            @Test
            @DisplayName("Should calculate used space correctly")
            void shouldCalculateUsedSpaceCorrectly() throws SMBProtocolDecodingException {
                // Given
                ByteBuffer buffer = ByteBuffer.allocate(24);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(10000L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

            }
    
            @Test
            @DisplayName("Should calculate used space correctly")
            void shouldCalculateUsedSpaceCorrectly() throws SMBProtocolDecodingException {
                // Given
                ByteBuffer buffer = ByteBuffer.allocate(32);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(10000L);
    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