Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for andxCommand (0.06 sec)

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

             * because there's no header.
             */
    
            if (this.errorCode != 0 || this.andxCommand == (byte) 0xFF) {
                this.andxCommand = (byte) 0xFF;
                this.andx = null;
            } else if (this.andx == null) {
                this.andxCommand = (byte) 0xFF;
                throw new RuntimeCIFSException("no andx command supplied with response");
            } else {
    
    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

            buffer[0] = 4; // wordCount at position 0
            buffer[1] = (byte) 0x42; // andxCommand
            SMBUtil.writeInt2(0, buffer, 3); // andxOffset = 0 (triggers Snap workaround)
            SMBUtil.writeInt2(20, buffer, 9); // byteCount
    
            int length = testBlock.readAndXWireFormat(buffer, 0);
    
            assertTrue(length > 0);
            // andxCommand is private, but we can verify the behavior
            assertNull(testBlock.getAndx());
    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

             * because there's no header.
             */
    
            if (errorCode != 0 || andxCommand == (byte) 0xFF) {
                andxCommand = (byte) 0xFF;
                andx = null;
            } else if (andx == null) {
                andxCommand = (byte) 0xFF;
                throw new RuntimeException("no andx command supplied with response");
            } else {
    
                /*
    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

                    return 33;
                }
            };
    
            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