- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for totalParameterCount (0.54 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
DummyResponse d = new DummyResponse(); String s = d.toString(); assertNotNull(s, "toString should not return null"); assertTrue(s.contains("totalParameterCount="), "string representation contains totalParameterCount field"); } /** * Verify that readParameterWordsWireFormat parses the SMB header * correctly and updates all relevant members. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.3K bytes - Viewed (0) -
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;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.4K bytes - Viewed (0) -
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;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0) -
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)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
assertTrue(result.contains("SMB_COM_TRANSACTION")); // Also verify it contains transaction-specific details assertTrue(result.contains("totalParameterCount")); assertTrue(result.contains("totalDataCount")); assertTrue(result.contains("maxParameterCount")); assertTrue(result.contains("maxDataCount")); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
this.maxSetupCount = value; } public int getTotalParameterCount() { return totalParameterCount; } public void setTotalParameterCount(int value) { this.totalParameterCount = value; } public int getTotalDataCount() { return totalDataCount; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
void testToString() { String result = response.toString(); assertNotNull(result); // The toString method includes various parameter information assertTrue(result.contains("totalParameterCount")); assertTrue(result.contains("totalDataCount")); assertTrue(result.contains("dataCount")); } @Test @DisplayName("Test configuration usage")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION); // Verify the object is created with expected configuration // totalParameterCount should be 2 // totalDataCount should be 0 // maxParameterCount should be 0 // maxDataCount should be 800 // maxSetupCount should be 0 assertNotNull(trans2QueryFSInfo);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0)