Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for SmbInfoAllocation (0.37 sec)

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

     * free units, sectors per allocation unit, and bytes per sector.
     */
    public class SmbInfoAllocation implements AllocInfo {
    
        /**
         * Default constructor for SMB allocation information.
         */
        public SmbInfoAllocation() {
            // Default constructor
        }
    
        private long alloc; // Also handles SmbQueryFSSizeInfo
        private long free;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            assertNotNull(response.info, "Info object should not be null");
            assertTrue(response.info instanceof Trans2QueryFSInformationResponse.SmbInfoAllocation, "Info should be of type SmbInfoAllocation");
    
            Trans2QueryFSInformationResponse.SmbInfoAllocation info = (Trans2QueryFSInformationResponse.SmbInfoAllocation) response.info;
            assertEquals(1000, info.alloc);
            assertEquals(500, info.free);
            assertEquals(100, info.sectPerAlloc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

            default -> 0;
            };
        }
    
        int readSmbInfoAllocationWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
            final SmbInfoAllocation info = new SmbInfoAllocation();
    
            bufferIndex += 4; // skip idFileSystem
    
            info.sectPerAlloc = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            info.alloc = readInt4(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java

            this.bytesPerSect = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
            return ("SmbInfoAllocation[" + "alloc=" + this.alloc + ",free=" + this.free + ",sectPerAlloc=" + this.sectPerAlloc
                    + ",bytesPerSect=" + 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)
  5. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

            this.bytesPerSect = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
            return ("SmbInfoAllocation[" + "alloc=" + this.alloc + ",free=" + this.free + ",sectPerAlloc=" + this.sectPerAlloc
                    + ",bytesPerSect=" + 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)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

    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;
    
    /**
     * Trans2 QueryFSInformation response message for file system information queries.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top