Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for andxOffset (0.04 sec)

  1. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            this.andx.batchLevel = this.batchLevel + 1;
    
            dst[start + ANDX_COMMAND_OFFSET] = this.andxCommand;
            dst[start + ANDX_RESERVED_OFFSET] = (byte) 0x00;
            this.andxOffset = dstIndex - this.headerStart;
            SMBUtil.writeInt2(this.andxOffset, dst, start + ANDX_OFFSET_OFFSET);
    
            this.andx.setUseUnicode(this.isUseUnicode());
            if (this.andx instanceof AndXServerMessageBlock) {
    
                /*
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            byte[] buffer = new byte[1024];
    
            // Setup buffer after header
            buffer[33] = 4; // wordCount
            buffer[34] = (byte) 0xFF; // andxCommand
            buffer[36] = 0; // andxOffset low
            buffer[37] = 0; // andxOffset high
            SMBUtil.writeInt2(20, buffer, 42); // byteCount
    
            int length = testBlock.decode(buffer, 0);
    
            assertTrue(length > 0);
            assertEquals(4, testBlock.wordCount);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

             */
    
            andx.batchLevel = batchLevel + 1;
    
            dst[start + ANDX_COMMAND_OFFSET] = andxCommand;
            dst[start + ANDX_RESERVED_OFFSET] = (byte) 0x00;
            andxOffset = dstIndex - headerStart;
            writeInt2(andxOffset, dst, start + ANDX_OFFSET_OFFSET);
    
            andx.useUnicode = useUnicode;
            if (andx instanceof AndXServerMessageBlock) {
    
                /*
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

                }
            };
    
            byte[] buf = new byte[128];
            // After header at 0..32
            buf[33] = 4; // wordCount
            buf[34] = (byte) 0xFF; // andxCommand
            // andxOffset (ignored when 0xFF)
            buf[36] = 0;
            buf[37] = 0;
            // byteCount at index start + 1 + wordCount*2 = 33 + 1 + 8 = 42
            ServerMessageBlock.writeInt2(20, buf, 42);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

         * actually read. Incedentally this is important to the
         * AndXServerMessageBlock class that needs to potentially
         * read in another smb's parameter words and bytes based on
         * information in it's andxCommand, andxOffset, ...etc.
         */
    
        abstract int writeParameterWordsWireFormat(byte[] dst, int dstIndex);
    
        abstract int writeBytesWireFormat(byte[] dst, int dstIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * actually read. Incedentally this is important to the
         * AndXServerMessageBlock class that needs to potentially
         * read in another smb's parameter words and bytes based on
         * information in it's andxCommand, andxOffset, ...etc.
         */
    
        /**
         * Writes the parameter words portion of the SMB message to the wire format.
         *
         * @param dst the destination buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top