Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getFileSystemInformationClass (0.92 sec)

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

            @DisplayName("Should inherit getFileSystemInformationClass from FileSystemInformation")
            void shouldInheritGetFileSystemInformationClass() throws NoSuchMethodException {
                // Verify method is inherited
                assertNotNull(AllocInfo.class.getMethod("getFileSystemInformationClass"));
                assertEquals(byte.class, AllocInfo.class.getMethod("getFileSystemInformationClass").getReturnType());
            }
    
    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/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

         */
        public FileFsFullSizeInformation() {
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.fscc.FileSystemInformation#getFileSystemInformationClass()
         */
        @Override
        public byte getFileSystemInformationClass() {
            return FS_FULL_SIZE_INFO;
        }
    
        @Override
        public long getCapacity() {
            return this.alloc * this.sectPerAlloc * this.bytesPerSect;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java

         */
        public FileFsSizeInformation() {
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.fscc.FileSystemInformation#getFileSystemInformationClass()
         */
        @Override
        public byte getFileSystemInformationClass() {
            return FS_SIZE_INFO;
        }
    
        @Override
        public long getCapacity() {
            return this.alloc * this.sectPerAlloc * this.bytesPerSect;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                when(mockFileSystemInfo.getFileSystemInformationClass()).thenReturn(FileSystemInformation.FS_SIZE_INFO);
    
                byte result = mockFileSystemInfo.getFileSystemInformationClass();
    
                assertEquals(FileSystemInformation.FS_SIZE_INFO, result);
                verify(mockFileSystemInfo, times(1)).getFileSystemInformationClass();
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java

        private int sectPerAlloc;
        private int bytesPerSect;
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.fscc.FileSystemInformation#getFileSystemInformationClass()
         */
        @Override
        public byte getFileSystemInformationClass() {
            return FileSystemInformation.SMB_INFO_ALLOCATION;
        }
    
        @Override
        public long getCapacity() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileSystemInformation.java

         */
        byte FS_FULL_SIZE_INFO = 7;
    
        /**
         * Gets the file system information class.
         *
         * @return file system information class
         */
        byte getFileSystemInformationClass();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

            @DisplayName("Should return correct file system information class")
            void shouldReturnCorrectFileSystemInformationClass() {
                assertEquals(FileSystemInformation.FS_SIZE_INFO, fileFsSizeInfo.getFileSystemInformationClass());
            }
        }
    
        @Nested
        @DisplayName("Decode Method Tests")
        class DecodeMethodTests {
    
            @Test
            @DisplayName("Should decode buffer with typical values correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

        void setUp() {
            smbInfoAllocation = new SmbInfoAllocation();
        }
    
        @Test
        @DisplayName("Test getFileSystemInformationClass returns SMB_INFO_ALLOCATION")
        void testGetFileSystemInformationClass() {
            assertEquals(FileSystemInformation.SMB_INFO_ALLOCATION, smbInfoAllocation.getFileSystemInformationClass());
        }
    
        @Test
        @DisplayName("Test decode with typical values")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

            @DisplayName("Should return correct file system information class")
            void shouldReturnCorrectFileSystemInformationClass() {
                assertEquals(FileSystemInformation.FS_FULL_SIZE_INFO, fileFsFullSizeInfo.getFileSystemInformationClass());
            }
        }
    
        @Nested
        @DisplayName("Decode Method Tests")
        class DecodeMethodTests {
    
            @Test
            @DisplayName("Should decode buffer with typical values correctly")
    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