Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 179 for Reserved2 (0.06 sec)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

            idx += 2;
            SMBUtil.writeInt2(reserved1, data, idx);
            idx += 2;
            SMBUtil.writeInt4(reserved2, data, idx);
            idx += 4;
    
            // SMB_DIRECT_RDMA_TRANSFORM array (only one element)
            SMBUtil.writeInt2(rdmaTransformId, data, idx);
            idx += 2;
            SMBUtil.writeInt2(0, data, idx); // Reserved
            idx += 2;
            SMBUtil.writeInt4(0, data, idx); // Reserved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            buffer[bodyStart + 2] = (byte) dataOffsetFromHeader;
            // Reserved
            buffer[bodyStart + 3] = 0;
            // Data length
            SMBUtil.writeInt4(dataLength, buffer, bodyStart + 4);
            // Data remaining
            SMBUtil.writeInt4(dataRemaining, buffer, bodyStart + 8);
            // Reserved2
            SMBUtil.writeInt4(0, buffer, bodyStart + 12);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            // Reserved1 (2 bytes) - should be 0 (bytes were initialized to 0xCC, so they weren't written)
            // This is expected behavior - the reserved fields are not explicitly written to 0
    
            // Reserved2 (4 bytes) - should be 0 (bytes were initialized to 0xCC, so they weren't written)
            // This is expected behavior - the reserved fields are not explicitly written to 0
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt2(24, dst, dstIndex);
            dstIndex += 2;
            dstIndex += 2; // Reserved1
            dstIndex += 4; // Reserved2
    
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcBind.java

            buf.enc_ndr_long(0); /* assoc. group */
            buf.enc_ndr_small(1); /* num context items */
            buf.enc_ndr_small(0); /* reserved */
            buf.enc_ndr_short(0); /* reserved2 */
            buf.enc_ndr_short(0); /* context id */
            buf.enc_ndr_small(1); /* number of items */
            buf.enc_ndr_small(0); /* reserved */
            this.binding.getUuid().encode(buf);
            buf.enc_ndr_short(this.binding.getMajor());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

            buf.enc_ndr_long(0); /* assoc. group */
            buf.enc_ndr_small(1); /* num context items */
            buf.enc_ndr_small(0); /* reserved */
            buf.enc_ndr_short(0); /* reserved2 */
            buf.enc_ndr_short(0); /* context id */
            buf.enc_ndr_small(1); /* number of items */
            buf.enc_ndr_small(0); /* reserved */
            binding.uuid.encode(buf);
            buf.enc_ndr_short(binding.major);
            buf.enc_ndr_short(binding.minor);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            @Test
            @DisplayName("Should correctly parse reserved fields")
            void testReservedFieldsAreSkipped() throws Exception {
                byte[] buffer = new byte[64];
    
                // Structure with specific values in reserved fields
                SMBUtil.writeInt2(24, buffer, 0);
                buffer[2] = 0x01; // Oplock level
                buffer[3] = (byte) 0xAA; // Reserved byte
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java

                throw new SMBProtocolDecodingException("Expected structureSize = 24");
            }
    
            this.oplockLevel = buffer[bufferIndex + 2];
            bufferIndex += 4;
            bufferIndex += 4; // Reserved2
    
            this.fileId = new byte[16];
            System.arraycopy(buffer, bufferIndex, this.fileId, 0, 16);
            bufferIndex += 16;
    
            return bufferIndex - start;
        }
    
        /**
         * {@inheritDoc}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                dst[dstIndex] = maxSetupCount;
                dstIndex++;
                dst[dstIndex++] = (byte) 0x00; // Reserved1
                writeInt2(flags, dst, dstIndex);
                dstIndex += 2;
                writeInt4(timeout, dst, dstIndex);
                dstIndex += 4;
                dst[dstIndex++] = (byte) 0x00; // Reserved2
                dst[dstIndex++] = (byte) 0x00;
            }
            writeInt2(parameterCount, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java

            this.dataLength = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.dataRemaining = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            bufferIndex += 4; // Reserved2
    
            final int dataStart = getHeaderStart() + dataOffset;
    
            if (this.dataLength + this.outputBufferOffset > this.outputBuffer.length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top