Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AllocInfo (0.04 sec)

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

                TestAllocInfo allocInfo = new TestAllocInfo(capacity, free);
    
                // When - multiple calls should return same values
                long firstCapacityCall = allocInfo.getCapacity();
                long secondCapacityCall = allocInfo.getCapacity();
                long firstFreeCall = allocInfo.getFree();
                long secondFreeCall = allocInfo.getFree();
    
                // Then
    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/FileSystemInformationTest.java

                assertTrue(fullSizeInfo instanceof FileSystemInformation);
    
                // All should be AllocInfo
                assertTrue(smbInfo instanceof AllocInfo);
                assertTrue(sizeInfo instanceof AllocInfo);
                assertTrue(fullSizeInfo instanceof AllocInfo);
            }
        }
    
        @Nested
        @DisplayName("Performance and Boundary Tests")
        class PerformanceTests {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                buffer.putInt(2048);
    
                // When
                allocInfo.decode(buffer.array(), 0, 24);
    
                // Then
                assertEquals(5000L * 4 * 2048, allocInfo.getCapacity());
                assertEquals(2000L * 4 * 2048, allocInfo.getFree());
                assertEquals(FileSystemInformation.FS_SIZE_INFO, allocInfo.getFileSystemInformationClass());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                buffer.putInt(2048);
    
                // When
                allocInfo.decode(buffer.array(), 0, 32);
    
                // Then
                assertEquals(5000L * 4 * 2048, allocInfo.getCapacity());
                assertEquals(2000L * 4 * 2048, allocInfo.getFree());
                assertEquals(FileSystemInformation.FS_FULL_SIZE_INFO, allocInfo.getFileSystemInformationClass());
            }
    
            @Test
    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