Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for idFileSystem (0.8 sec)

  1. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            // Prepare test data
            byte[] buffer = new byte[22];
            int idFileSystem = 0x12345678;
            int sectPerAlloc = 8;
            long alloc = 1000000L;
            long free = 500000L;
            int bytesPerSect = 512;
    
            // Encode test data
            int offset = 0;
            SMBUtil.writeInt4(idFileSystem, buffer, offset); // idFileSystem (skipped)
            offset += 4;
            SMBUtil.writeInt4(sectPerAlloc, buffer, offset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            // Prepare buffer with SmbInfoAllocation data
            byte[] buffer = new byte[100];
            int offset = 0;
    
            // idFileSystem (4 bytes) - skipped in decode
            SMBUtil.writeInt4(0, buffer, offset);
            offset += 4;
    
            // sectPerAlloc (4 bytes)
            SMBUtil.writeInt4(8, buffer, offset);
            offset += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            void testDecode() throws SMBProtocolDecodingException {
                // Prepare test buffer with sample data
                byte[] buffer = new byte[24];
                // Skip idFileSystem (4 bytes)
                buffer[4] = 0x08; // sectPerAlloc = 8
                buffer[8] = 0x00;
                buffer[9] = 0x10; // alloc = 4096
                buffer[12] = 0x00;
                buffer[13] = 0x08; // free = 2048
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top