Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for FileFsSizeInformation (0.3 sec)

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

     */
    public class FileFsSizeInformation implements AllocInfo {
    
        private long alloc; // Also handles SmbQueryFSSizeInfo
        private long free;
        private int sectPerAlloc;
        private int bytesPerSect;
    
        /**
         * Default constructor for decoding file system size information.
         */
        public FileFsSizeInformation() {
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            }
        }
    
        @Nested
        @DisplayName("FileFsSizeInformation Implementation Tests")
        class FileFsSizeInformationTests {
    
            private FileFsSizeInformation fileFsSizeInfo;
    
            @BeforeEach
            void setUp() {
                fileFsSizeInfo = new FileFsSizeInformation();
            }
    
            @Test
            @DisplayName("Should return correct information class")
    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/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            assertEquals(offset, bytesRead);
            assertNotNull(response.getInfo());
            assertTrue(response.getInfo() instanceof FileFsSizeInformation);
    
            FileFsSizeInformation info = (FileFsSizeInformation) response.getInfo();
            assertEquals(1000000L * 8L * 512L, info.getCapacity());
            assertEquals(500000L * 8L * 512L, info.getFree());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

    import jcifs.internal.AllocInfo;
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Test suite for FileFsSizeInformation class
     */
    class FileFsSizeInformationTest {
    
        private FileFsSizeInformation fileFsSizeInfo;
    
        @BeforeEach
        void setUp() {
            fileFsSizeInfo = new FileFsSizeInformation();
        }
    
        @Nested
        @DisplayName("Interface Implementation Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

    import jcifs.Decodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.dtyp.SecurityDescriptor;
    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.ServerMessageBlock2Response;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.internal.AllocInfo;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.fscc.FileFsFullSizeInformation;
    import jcifs.internal.fscc.FileFsSizeInformation;
    import jcifs.internal.fscc.FileSystemInformation;
    import jcifs.internal.fscc.SmbInfoAllocation;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    import jcifs.internal.smb1.trans.SmbComTransactionResponse;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            // Set buffer offset
            SMBUtil.writeInt2(20, buffer, bufferIndex + 2);
            // Set buffer length (FileFsSizeInformation is 24 bytes)
            SMBUtil.writeInt4(24, buffer, bufferIndex + 4);
    
            response = spy(response);
            when(response.getHeaderStart()).thenReturn(0);
    
            // Write FileFsSizeInformation data (24 bytes)
            SMBUtil.writeInt8(1000000, buffer, 20); // Total allocation units
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
Back to top