Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 128 for Reserved1 (1.35 sec)

  1. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

            SMBUtil.writeInt8(0, dst, dstIndex); // LeaseDuration (8 bytes) - reserved, must be zero
            dstIndex += 8;
    
            parentLeaseKey.encode(dst, dstIndex); // ParentLeaseKey (16 bytes)
            dstIndex += 16;
    
            SMBUtil.writeInt2(epoch, dst, dstIndex); // Epoch (2 bytes)
            dstIndex += 2;
    
            SMBUtil.writeInt2(0, dst, dstIndex); // Reserved (2 bytes)
            dstIndex += 2;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComNtTransactionResponse.java

            final int start = bufferIndex;
    
            buffer[bufferIndex] = (byte) 0x00; // Reserved
            bufferIndex++;
            buffer[bufferIndex++] = (byte) 0x00; // Reserved
            buffer[bufferIndex++] = (byte) 0x00; // Reserved
    
            totalParameterCount = readInt4(buffer, bufferIndex);
            if (bufDataStart == 0) {
                bufDataStart = totalParameterCount;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java

            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            dst[dstIndex] = (byte) 0x00; // Reserved
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00; // Reserved
            SMBUtil.writeInt4(this.securityInformation, dst, dstIndex);
            dstIndex += 4;
            return dstIndex - start;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java

            bufferIndex += 4;
    
            this.leaseFlags = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // LeaseDuration (8 bytes) - reserved, skip
            bufferIndex += 8;
    
            byte[] parentKeyBytes = new byte[16];
            System.arraycopy(buffer, bufferIndex, parentKeyBytes, 0, 16);
            this.parentLeaseKey = new Smb2LeaseKey(parentKeyBytes);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            assertEquals((byte) (informationLevel & 0xFF), dst[0]);
            assertEquals((byte) ((informationLevel >> 8) & 0xFF), dst[1]);
            // Check reserved bytes
            for (int i = 2; i < 6; i++) {
                assertEquals((byte) 0x00, dst[i], "Reserved byte at index " + i + " should be 0.");
            }
            // Check filename
            byte[] filenameBytes = filename.getBytes();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

            dstIndex += 16;
    
            // Original message size
            SMBUtil.writeInt4(this.originalMessageSize, dst, dstIndex);
            dstIndex += 4;
    
            // Reserved (2 bytes)
            SMBUtil.writeInt2(0, dst, dstIndex);
            dstIndex += 2;
    
            // Flags (2 bytes)
            SMBUtil.writeInt2(this.flags, dst, dstIndex);
            dstIndex += 2;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/util/SMBUtil.java

                (byte) 64, (byte) 0x00, // StructureSize (LE)
                (byte) 0x00, (byte) 0x00, // CreditCharge (reserved 2.0.2)
                (byte) 0x00, (byte) 0x00, // ChannelSequence
                (byte) 0x00, (byte) 0x00, // Reserved
                (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // Status
                (byte) 0x00, (byte) 0x00, // Command
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java

            @BeforeEach
            public void setUp() {
                // Build a sample buffer
                int bufferIndex = 0;
                bufferIndex += 2; // reserved
                writeInt2(dataCompactionMode, buffer, bufferIndex);
                bufferIndex += 2;
                bufferIndex += 2; // reserved
                writeInt2(dataLength, buffer, bufferIndex);
                bufferIndex += 2;
                writeInt2(dataOffset, buffer, bufferIndex);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

            assertEquals(16, SMBUtil.readInt2(buffer, 4));
    
            // NameLength field (2 bytes) - should be 4 for "RqLs"
            assertEquals(4, SMBUtil.readInt2(buffer, 6));
    
            // Reserved field (2 bytes) - should be 0
            assertEquals(0, SMBUtil.readInt2(buffer, 8));
    
            // DataOffset field (2 bytes) - should be 24 (16 header + 4 name + 4 padding)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

        @Test
        void testReadParameterWordsWireFormat_bufDataStartIsZero() {
            // Test case when bufDataStart is initially 0.
            byte[] buffer = new byte[37]; // 3 reserved + 8*4 bytes for int4 values + 2 bytes for setupCount
            int bufferIndex = 0;
    
            // Reserved bytes
            buffer[bufferIndex++] = 0x00;
            buffer[bufferIndex++] = 0x00;
            buffer[bufferIndex++] = 0x00;
    
            // totalParameterCount = 10
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top