Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for errorContextCount (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

        private static byte[] buildErrorBody(int errorContextCount, int bc, byte[] errorData) {
            int bodyLen = 8 + bc; // 8 bytes fixed + variable data
            byte[] buf = new byte[bodyLen];
            SMBUtil.writeInt2(9, buf, 0); // structureSize
            buf[2] = (byte) errorContextCount; // ErrorContextCount
            // one reserved byte at position 3
            SMBUtil.writeInt4(bc, buf, 4); // ByteCount
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            int bodyStart = headerStart + Smb2Constants.SMB2_HEADER_LENGTH;
            // Error response structure: size(2)=9, errorContextCount(1), reserved(1), bc(4), errorData(bc)
            SMBUtil.writeInt2(9, buf, bodyStart);
            buf[bodyStart + 2] = 0x02; // errorContextCount
            buf[bodyStart + 3] = 0x00; // reserved
            int bc = 4;
            SMBUtil.writeInt4(bc, buf, bodyStart + 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            return this.errorData;
        }
    
        /**
         * Gets the error context count for this message.
         *
         * @return the errorContextCount
         */
        public final byte getErrorContextCount() {
            return this.errorContextCount;
        }
    
        /**
         * Gets the header start position for this message.
         *
         * @return the headerStart
         */
    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