Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for totalParameterCount (0.18 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

                parameterOffset += pad;
    
                totalParameterCount = writeParametersWireFormat(txn_buf, bufParameterOffset);
                bufDataOffset = totalParameterCount; // data comes right after data
    
                int available = maxBufferSize - parameterOffset;
                parameterCount = Math.min(totalParameterCount, available);
                available -= parameterCount;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
            totalParameterCount = readInt2(buffer, bufferIndex);
            if (bufDataStart == 0) {
                bufDataStart = totalParameterCount;
            }
            bufferIndex += 2;
            totalDataCount = readInt2(buffer, bufferIndex);
            bufferIndex += 4; // Reserved
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

            // 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");
            assertEquals(smbComNtTransaction.totalDataCount, SmbComTransaction.readInt4(dst, 7), "totalDataCount should be written correctly");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            // Prepare buffer with test data
            // Reserved bytes (3 bytes)
            buffer[bufferIndex] = 0x00;
            buffer[bufferIndex + 1] = 0x00;
            buffer[bufferIndex + 2] = 0x00;
    
            // totalParameterCount (4 bytes)
            SMBUtil.writeInt4(1000, buffer, bufferIndex + 3);
    
            // totalDataCount (4 bytes)
            SMBUtil.writeInt4(2000, buffer, bufferIndex + 7);
    
            // parameterCount (4 bytes)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

            assertEquals(37, bytesRead); // 3 reserved + 32 (8*4) + 2 for setupCount
            assertEquals(10, response.totalParameterCount);
            assertEquals(10, response.bufDataStart); // Should be set to totalParameterCount
            assertEquals(20, response.totalDataCount);
            assertEquals(5, response.parameterCount);
            assertEquals(30, response.parameterOffset);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
            this.totalParameterCount = SMBUtil.readInt2(buffer, bufferIndex);
            if (this.bufDataStart == 0) {
                this.bufDataStart = this.totalParameterCount;
            }
            bufferIndex += 2;
            this.totalDataCount = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 4; // Reserved
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java

        Trans2QueryFSInformation(final int informationLevel) {
            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) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                this.parameterOffset += this.pad1;
    
                this.totalParameterCount = writeParametersWireFormat(this.txn_buf, this.bufParameterOffset);
                this.bufDataOffset = this.totalParameterCount; // data comes right after data
    
                int available = this.maxBufferSize - this.parameterOffset;
                this.parameterCount = Math.min(this.totalParameterCount, available);
                available -= this.parameterCount;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            // the fields are set in the constructor – check that the counts match
            assertEquals(2, cmd.totalParameterCount, "totalParameterCount should be 2");
            assertEquals(0, cmd.totalDataCount, "totalDataCount should be 0");
            assertEquals(0, cmd.maxParameterCount, "maxParameterCount should be 0");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

                dst[dstIndex++] = (byte) 0x00; // Reserved
            }
            dst[dstIndex] = (byte) 0x00; // Reserved
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00; // Reserved
            writeInt4(totalParameterCount, dst, dstIndex);
            dstIndex += 4;
            writeInt4(totalDataCount, dst, dstIndex);
            dstIndex += 4;
            if (command != SMB_COM_NT_TRANSACT_SECONDARY) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top