Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for AndX (0.25 sec)

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

                this.andx.setCommand(this.andxCommand);
                this.andx.setErrorCode(getErrorCode());
                this.andx.setFlags(getFlags());
                this.andx.setFlags2(getFlags2());
                this.andx.setTid(getTid());
                this.andx.setPid(getPid());
                this.andx.setUid(getUid());
                this.andx.setMid(getMid());
    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/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

        private byte[] blob = null;
    
        /**
         * Constructs a session setup AndX response.
         *
         * @param config the configuration to use
         * @param andx the next command in the AndX chain, or null
         */
        public SmbComSessionSetupAndXResponse(final Configuration config, final ServerMessageBlock andx) {
            super(config, andx);
        }
    
        /**
         * Returns the native LAN Manager string reported by the server.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

        private final String fileName = "testFile.txt";
        private final int access = SmbFile.GENERIC_READ | SmbFile.GENERIC_WRITE;
        private ServerMessageBlock andx;
    
        /**
         * Sets up the test environment before each test.
         */
        @BeforeEach
        void setUp() {
            andx = mock(ServerMessageBlock.class);
        }
    
        /**
         * Test constructor with O_CREAT and O_TRUNC flags.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComLogoffAndX.java

    /**
     * SMB1 Logoff AndX request message.
     *
     * This command is used to terminate a user session that was
     * previously established with a Session Setup AndX command.
     */
    public class SmbComLogoffAndX extends AndXServerMessageBlock {
    
        /**
         * Creates a new SMB1 logoff request to end a user session.
         *
         * @param config the CIFS configuration
         * @param andx the next command in the AndX chain, or null
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

         * @param len the number of bytes to write
         * @param andx the next command in the AndX chain, or null
         */
        public SmbComWriteAndX(final Configuration config, final int fid, final long offset, final int remaining, final byte[] b, final int off,
                final int len, final ServerMessageBlock andx) {
            super(config, SMB_COM_WRITE_ANDX, andx);
            this.fid = fid;
            this.offset = offset;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

    /**
     * SMB1 Read AndX Response message.
     *
     * This response contains the data that was read from the file
     * along with information about the read operation.
     */
    public class SmbComReadAndXResponse extends AndXServerMessageBlock {
    
        private byte[] data;
        private int offset, dataCompactionMode, dataLength, dataOffset;
    
        /**
         * Constructs a Read AndX response.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                andx.errorCode = errorCode;
                andx.flags = flags;
                andx.flags2 = flags2;
                andx.tid = tid;
                andx.pid = pid;
                andx.uid = uid;
                andx.mid = mid;
                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)
  8. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

        /**
         * Constructs an Open AndX request.
         *
         * @param config the configuration
         * @param fileName the name of the file to open
         * @param access the desired access mode
         * @param shareAccess the share access mode
         * @param flags the open flags
         * @param fileAttributes the file attributes
         * @param andx the next command in the chain
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            assertEquals((byte) 0x00, buf[2], "Reserved byte must be 0");
            assertEquals((byte) 0xDE, buf[3], "Sentinel low offset when no chaining");
            assertEquals((byte) 0xDE, buf[4], "Sentinel high offset when no chaining");
            assertNull(block.andx, "andx should be cleared when not chaining");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            SMBUtil.writeInt2(83, buffer, 36); // andxOffset (33 + 50)
            SMBUtil.writeInt2(20, buffer, 42); // byteCount
    
            // Setup andx command data at offset 83 (absolute position from buffer start)
            buffer[83] = 2; // andx wordCount
            SMBUtil.writeInt2(10, buffer, 88); // andx byteCount
    
            int length = testBlock.decode(buffer, 0);
    
            assertTrue(length > 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top