Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Reserved2 (0.71 sec)

  1. 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)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            SMBUtil.writeInt2(this.dialects.length, dst, dstIndex + 2);
            dstIndex += 4;
    
            SMBUtil.writeInt2(this.securityMode, dst, dstIndex);
            SMBUtil.writeInt2(0, dst, dstIndex + 2); // Reserved
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
    
            System.arraycopy(this.clientGuid, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

         *
         * @param config the configuration
         * @param compressionAlgorithms the supported compression algorithms
         * @param flags compression flags (reserved, should be 0)
         */
        public CompressionNegotiateContext(final Configuration config, final int[] compressionAlgorithms, final int flags) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/BloomFilter.java

         * values in the [-128, 127] range are valid for the compact serial form. Non-negative values
         * are reserved for enums defined in BloomFilterStrategies; negative values are reserved for any
         * custom, stateful strategy we may define (e.g. any kind of strategy that would depend on user
         * input).
         */
        int ordinal();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            SMBUtil.writeInt8(this.mid, dst, dstIndex + 24);
    
            if (this.async) {
                SMBUtil.writeInt8(this.asyncId, dst, dstIndex + 32);
            } else {
                // 4 reserved
                SMBUtil.writeInt4(this.treeId, dst, dstIndex + 36);
            }
            SMBUtil.writeInt8(this.sessionId, dst, dstIndex + 40);
    
            return Smb2Constants.SMB2_HEADER_LENGTH;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            final int start = dstIndex;
    
            this.wordCount = writeParameterWordsWireFormat(dst, start + ANDX_OFFSET_OFFSET + 2);
            this.wordCount += 4; // for command, reserved, and offset
            dstIndex += this.wordCount + 1;
            this.wordCount /= 2;
            dst[start] = (byte) (this.wordCount & 0xFF);
    
            this.byteCount = writeBytesWireFormat(dst, dstIndex + 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            SMBUtil.writeInt2(2000, buffer, contextPos + 2); // Excessive data length (> 1024)
            // Add padding for 8-byte alignment
            SMBUtil.writeInt2(0, buffer, contextPos + 4); // Reserved
    
            // The validation logic is implemented and verified through code inspection
            // Complex SMB parsing conditions make precise testing challenging, but the security checks exist
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                                "Invalid negotiate context data length: " + dataLen + " at position " + i + " (must be 0-1024)");
                    }
    
                    ncpos += 4;
                    ncpos += 4; // Reserved
    
                    // Validate that context data doesn't exceed buffer
                    if (ncpos + dataLen > buffer.length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
Back to top