Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for maxParameterCount (1.31 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

        int totalDataCount;
        int maxParameterCount;
        int maxDataCount = DEFAULT_MAX_DATA_COUNT;
        byte maxSetupCount;
        int timeout = 0;
        int setupCount = 1;
        byte subCommand;
        String name = "";
        int maxBufferSize; // set in SmbTransport.sendTransaction() before nextElement called
    
        byte[] txn_buf;
    
        SmbComTransaction() {
            maxParameterCount = 1024;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, transaction.getSubCommand());
    
            // Verify maxDataCount and maxParameterCount are initialized
            assertTrue(transaction.maxDataCount > 0);
            assertTrue(transaction.maxParameterCount > 0);
        }
    
        @Test
        @DisplayName("Test setMaxBufferSize")
        void testSetMaxBufferSize() {
            transaction.setMaxBufferSize(8192);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

                    "The subCommand should be TRANS2_QUERY_PATH_INFORMATION.");
            assertEquals(0, trans.totalDataCount, "The totalDataCount should be 0.");
            assertEquals(2, trans.maxParameterCount, "The maxParameterCount should be 2.");
            assertEquals(40, trans.maxDataCount, "The maxDataCount should be 40.");
            assertEquals((byte) 0x00, trans.maxSetupCount, "The maxSetupCount should be 0.");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

            assertEquals(Trans2SetFileInformation.TRANS2_SET_FILE_INFORMATION, trans2SetFileInformation.subCommand);
            assertEquals(6, trans2SetFileInformation.maxParameterCount);
            assertEquals(0, trans2SetFileInformation.maxDataCount);
            assertEquals(0, trans2SetFileInformation.maxSetupCount);
        }
    
        @Test
        void testWriteSetupWireFormat() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java

            command = SMB_COM_TRANSACTION2;
            subCommand = TRANS2_QUERY_FS_INFORMATION;
            this.informationLevel = informationLevel;
            totalParameterCount = 2;
            totalDataCount = 0;
            maxParameterCount = 0;
            maxDataCount = 800;
            maxSetupCount = 0;
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = subCommand;
            dstIndex++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

            assertEquals(smbComNtTransaction.totalDataCount, SmbComTransaction.readInt4(dst, 7), "totalDataCount should be written correctly");
            assertEquals(smbComNtTransaction.maxParameterCount, SmbComTransaction.readInt4(dst, 11),
                    "maxParameterCount should be written correctly");
            assertEquals(smbComNtTransaction.maxDataCount, SmbComTransaction.readInt4(dst, 15), "maxDataCount should be written correctly");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/net/NetShareEnum.java

         *            the configuration to use
         */
        public NetShareEnum(final Configuration config) {
            super(config, SMB_COM_TRANSACTION, NET_SHARE_ENUM);
            this.name = "\\PIPE\\LANMAN";
            this.maxParameterCount = 8;
    
            // maxDataCount = 4096; why was this set?
            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 0;
            this.timeout = 5000;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java

            super(config, NT_TRANSACT_QUERY_SECURITY_DESC);
            this.fid = fid;
            this.securityInformation = securityInformation;
            this.setupCount = 0;
            this.totalDataCount = 0;
            this.maxParameterCount = 4;
            this.maxDataCount = 65536;
            this.maxSetupCount = (byte) 0x00;
        }
    
        @Override
        public int getPadding() {
            return 4;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

            super(config, SMB_COM_TRANSACTION2, TRANS2_QUERY_FS_INFORMATION);
            this.informationLevel = informationLevel;
            this.totalParameterCount = 2;
            this.totalDataCount = 0;
            this.maxParameterCount = 0;
            this.maxDataCount = 800;
            this.maxSetupCount = 0;
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = this.getSubCommand();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

            dstIndex += 4;
            writeInt4(totalDataCount, dst, dstIndex);
            dstIndex += 4;
            if (command != SMB_COM_NT_TRANSACT_SECONDARY) {
                writeInt4(maxParameterCount, dst, dstIndex);
                dstIndex += 4;
                writeInt4(maxDataCount, dst, dstIndex);
                dstIndex += 4;
            }
            writeInt4(parameterCount, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top