Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for parameterCount (0.13 sec)

  1. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

            this.pad = this.pad1 = 0;
            if (this.parameterCount > 0) {
                bufferIndex += this.pad = this.parameterOffset - (bufferIndex - this.headerStart);
                System.arraycopy(buffer, bufferIndex, this.txn_buf, this.bufParameterStart + this.parameterDisplacement, this.parameterCount);
                bufferIndex += this.parameterCount;
            }
            if (this.dataCount > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

            assertEquals(smbComNtTransaction.maxDataCount, SmbComTransaction.readInt4(dst, 15), "maxDataCount should be written correctly");
            assertEquals(smbComNtTransaction.parameterCount, SmbComTransaction.readInt4(dst, 19), "parameterCount should be written correctly");
            assertEquals(smbComNtTransaction.parameterOffset, SmbComTransaction.readInt4(dst, 23),
                    "parameterOffset 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)
  3. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

                return totalParameterCount;
            }
    
            int getTotalDataCount() {
                return totalDataCount;
            }
    
            int getParameterCount() {
                return parameterCount;
            }
    
            int getDataCount() {
                return dataCount;
            }
    
            int getSetupCount() {
                return setupCount;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                // caclulate parameterDisplacement before calculating new parameterCount
                this.parameterDisplacement += this.parameterCount;
    
                int available = this.maxBufferSize - this.parameterOffset - this.pad1;
                this.parameterCount = Math.min(this.totalParameterCount - this.parameterDisplacement, available);
                available -= this.parameterCount;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                parameterDisplacement += parameterCount;
    
                int available = maxBufferSize - parameterOffset - pad;
                parameterCount = Math.min(totalParameterCount - parameterDisplacement, available);
                available -= parameterCount;
    
                dataOffset = parameterOffset + parameterCount;
                pad1 = dataOffset % PADDING_SIZE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

            pad = pad1 = 0;
            final int n;
    
            if (parameterCount > 0) {
                bufferIndex += pad = parameterOffset - (bufferIndex - headerStart);
                System.arraycopy(buffer, bufferIndex, txn_buf, bufParameterStart + parameterDisplacement, parameterCount);
                bufferIndex += parameterCount;
            }
            if (dataCount > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

            // totalParameterCount = 10
            writeInt4(10, buffer, bufferIndex);
            bufferIndex += 4;
            // totalDataCount = 20
            writeInt4(20, buffer, bufferIndex);
            bufferIndex += 4;
            // parameterCount = 5
            writeInt4(5, buffer, bufferIndex);
            bufferIndex += 4;
            // parameterOffset = 30
            writeInt4(30, buffer, bufferIndex);
            bufferIndex += 4;
            // parameterDisplacement = 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

                dstIndex += 4;
                writeInt4(maxDataCount, dst, dstIndex);
                dstIndex += 4;
            }
            writeInt4(parameterCount, dst, dstIndex);
            dstIndex += 4;
            writeInt4(parameterCount == 0 ? 0 : parameterOffset, dst, dstIndex);
            dstIndex += 4;
            if (command == SMB_COM_NT_TRANSACT_SECONDARY) {
                writeInt4(parameterDisplacement, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java

                this.bufDataStart = this.totalParameterCount;
            }
            bufferIndex += 4;
            this.totalDataCount = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.parameterCount = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.parameterOffset = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComNtTransactionResponse.java

            if (bufDataStart == 0) {
                bufDataStart = totalParameterCount;
            }
            bufferIndex += 4;
            totalDataCount = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            parameterCount = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            parameterOffset = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            parameterDisplacement = readInt4(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top