- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for maxDataCount (0.15 sec)
-
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
assertEquals(0x01, dst[descrEnd]); assertEquals(0x00, dst[descrEnd + 1]); // Verify maxDataCount (2 bytes) int maxDataCount = SMBUtil.readInt2(dst, descrEnd + 2); assertTrue(maxDataCount > 0); assertEquals(getFieldValue(netShareEnum, "maxDataCount"), maxDataCount); } @Test @DisplayName("Test writeParametersWireFormat with different offsets")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
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() {
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/main/java/jcifs/smb1/smb1/SmbComTransaction.java
public String toString() { 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) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
this.maxBufferSize = maxBufferSize; } /** * Sets the maximum data count for this transaction * @param maxDataCount * the maxDataCount to set */ public final void setMaxDataCount(final int maxDataCount) { this.maxDataCount = maxDataCount; } /** * Sets the transaction buffer * @param buffer * the transaction buffer to use
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/net/NetServerEnum2Test.java
assertEquals("\\PIPE\\LANMAN", getFieldValue(netServerEnum2, "name")); assertEquals(8, getFieldValue(netServerEnum2, "maxParameterCount")); assertEquals(16384, getFieldValue(netServerEnum2, "maxDataCount")); assertEquals((byte) 0x00, getFieldValue(netServerEnum2, "maxSetupCount")); assertEquals(0, getFieldValue(netServerEnum2, "setupCount")); assertEquals(5000, getFieldValue(netServerEnum2, "timeout"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, trans2FindNext2.getCommand()); assertEquals(SmbComTransaction.TRANS2_FIND_NEXT2, trans2FindNext2.getSubCommand()); // maxParameterCount, maxDataCount, and maxSetupCount are protected fields // Their values are verified through the wire format methods } @Test void testReset() { // Test reset method updates resumeKey and filename
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
assertEquals(0xFFFFFFFF, transCallNamedPipe.timeout); assertEquals(0, transCallNamedPipe.maxParameterCount); assertEquals(0xFFFF, transCallNamedPipe.maxDataCount); assertEquals((byte) 0x00, transCallNamedPipe.maxSetupCount); assertEquals(2, transCallNamedPipe.setupCount); } @Test @DisplayName("Test constructor with partial data")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
byte[] dataBuffer = new byte[0]; written = trans2QueryFSInfo.writeDataWireFormat(dataBuffer, 0); assertEquals(0, written); } @Test @DisplayName("Test maxParameterCount and maxDataCount values") void testMaxCountValues() { trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION); // Verify the object is created with expected configuration
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
} @Test @DisplayName("Test maxParameterCount and maxDataCount values") void testMaxCountValues() { trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo); // These values are set in the constructor // maxParameterCount should be 6 // maxDataCount should be 0 // maxSetupCount should be 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
this.maxParameterCount = value; } public int getMaxDataCount() { return maxDataCount; } public void setMaxDataCountForTest(int value) { this.maxDataCount = value; } public int getParameterCount() { return parameterCount; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)