Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for FileSystemInformation (0.35 sec)

  1. src/main/java/jcifs/internal/AllocInfo.java

     */
    package jcifs.internal;
    
    import jcifs.internal.fscc.FileSystemInformation;
    
    /**
     * Interface for file system allocation information providing capacity and free space details.
     * Used in SMB protocol operations to query disk space information from remote SMB shares.
     *
     * @author mbechler
     */
    public interface AllocInfo extends FileSystemInformation {
    
        /**
         * Gets the total capacity of the allocation.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                assertTrue(AllocInfo.class.isAssignableFrom(FileFsSizeInformation.class));
            }
    
            @Test
            @DisplayName("Should implement FileSystemInformation interface")
            void shouldImplementFileSystemInformation() {
                assertTrue(FileSystemInformation.class.isAssignableFrom(FileFsSizeInformation.class));
            }
    
            @Test
            @DisplayName("Should return correct file system information class")
    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

                assertTrue(AllocInfo.class.isAssignableFrom(FileFsFullSizeInformation.class));
            }
    
            @Test
            @DisplayName("Should implement FileSystemInformation interface")
            void shouldImplementFileSystemInformation() {
                assertTrue(FileSystemInformation.class.isAssignableFrom(FileFsFullSizeInformation.class));
            }
    
            @Test
            @DisplayName("Should return correct file system information class")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

    import jcifs.internal.fscc.FileFsFullSizeInformation;
    import jcifs.internal.fscc.FileFsSizeInformation;
    import jcifs.internal.fscc.FileInformation;
    import jcifs.internal.fscc.FileInternalInfo;
    import jcifs.internal.fscc.FileSystemInformation;
    import jcifs.internal.smb2.ServerMessageBlock2;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

        }
    
        @Test
        @DisplayName("Test getFileSystemInformationClass returns SMB_INFO_ALLOCATION")
        void testGetFileSystemInformationClass() {
            assertEquals(FileSystemInformation.SMB_INFO_ALLOCATION, smbInfoAllocation.getFileSystemInformationClass());
        }
    
        @Test
        @DisplayName("Test decode with typical values")
        void testDecodeWithTypicalValues() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                        ai = queryFSInformation(th, AllocInfo.class, FileSystemInformation.SMB_INFO_ALLOCATION);
                        break;
                    }
                default:
                    throw ex;
                }
            }
            return ai;
        }
    
        private <T extends FileSystemInformation> T queryFSInformation(final SmbTreeHandleImpl th, final Class<T> clazz, final byte level)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top