Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for maxSetupCount (0.23 sec)

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

            return (super.toString() + ",totalParameterCount=" + totalParameterCount + ",totalDataCount=" + totalDataCount
                    + ",maxParameterCount=" + maxParameterCount + ",maxDataCount=" + maxDataCount + ",maxSetupCount=" + (int) maxSetupCount
                    + ",flags=0x" + Hexdump.toHexString(flags, 2) + ",timeout=" + timeout + ",parameterCount=" + parameterCount
    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/smb1/smb1/Trans2QueryPathInformationTest.java

            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.");
        }
    
        /**
         * Tests the writeSetupWireFormat method.
         */
        @Test
        void testWriteSetupWireFormat() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

            assertEquals(6, trans2SetFileInformation.maxParameterCount);
            assertEquals(0, trans2SetFileInformation.maxDataCount);
            assertEquals(0, trans2SetFileInformation.maxSetupCount);
        }
    
        @Test
        void testWriteSetupWireFormat() {
            // Given
            byte[] dst = new byte[2];
    
            // When
            int result = trans2SetFileInformation.writeSetupWireFormat(dst, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java

            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++;
            dst[dstIndex++] = (byte) 0x00;
            return 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

            assertEquals(38, bytesWritten, "Number of bytes written should be 38 for primary transaction");
    
            // Verify some key values
            assertEquals(smbComNtTransaction.maxSetupCount, dst[0], "maxSetupCount should be written correctly");
            assertEquals(smbComNtTransaction.totalParameterCount, SmbComTransaction.readInt4(dst, 3),
                    "totalParameterCount 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)
  6. src/main/java/jcifs/internal/smb1/net/NetShareEnum.java

            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
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java

            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
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

            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();
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

        @Override
        int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (command != SMB_COM_NT_TRANSACT_SECONDARY) {
                dst[dstIndex++] = maxSetupCount;
            } else {
                dst[dstIndex++] = (byte) 0x00; // Reserved
            }
            dst[dstIndex] = (byte) 0x00; // Reserved
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00; // Reserved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDesc.java

            command = SMB_COM_NT_TRANSACT;
            function = NT_TRANSACT_QUERY_SECURITY_DESC;
            setupCount = 0;
            totalDataCount = 0;
            maxParameterCount = 4;
            maxDataCount = 32768;
            maxSetupCount = (byte) 0x00;
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top