Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for FileSystemInformation (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/internal/fscc/FileSystemInformation.java

     * used in query file system information operations, with constants for information levels.
     *
     * @author mbechler
     */
    public interface FileSystemInformation extends Decodable {
    
        /**
         * SMB information allocation constant.
         */
        byte SMB_INFO_ALLOCATION = -1;
    
        /**
         * File system size information constant.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                assertEquals((byte) 7, FileSystemInformation.FS_FULL_SIZE_INFO);
            }
    
            @Test
            @DisplayName("Should have distinct constant values")
            void testConstantUniqueness() {
                assertNotEquals(FileSystemInformation.SMB_INFO_ALLOCATION, FileSystemInformation.FS_SIZE_INFO);
                assertNotEquals(FileSystemInformation.SMB_INFO_ALLOCATION, FileSystemInformation.FS_FULL_SIZE_INFO);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/AllocInfoTest.java

            @Test
            @DisplayName("Should implement FileSystemInformation interface")
            void shouldImplementFileSystemInformation() {
                // Verify that AllocInfo extends FileSystemInformation
                assertTrue(FileSystemInformation.class.isAssignableFrom(AllocInfo.class));
            }
    
            @Test
            @DisplayName("Should implement Decodable interface through FileSystemInformation")
            void shouldImplementDecodableInterface() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            trans2QueryFSInfo = new Trans2QueryFSInformation(mockConfig, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            assertNotNull(trans2QueryFSInfo);
        }
    
        @Test
        @DisplayName("Test concurrent access")
        void testConcurrentAccess() throws InterruptedException {
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            final int THREAD_COUNT = 10;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

            AllocInfo inf;
            switch (this.informationLevel) {
            case FileSystemInformation.SMB_INFO_ALLOCATION:
                inf = new SmbInfoAllocation();
                break;
            case FileSystemInformation.FS_SIZE_INFO:
                inf = new FileFsSizeInformation();
                break;
            case FileSystemInformation.FS_FULL_SIZE_INFO:
                inf = new FileFsFullSizeInformation();
                break;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5K bytes
    - Click Count (0)
  6. 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.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  7. 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")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  8. 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() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  9. 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")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  10. 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;
    
    /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.5K bytes
    - Click Count (0)
Back to Top