- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for max_recv (0.06 sec)
-
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
tcField.setAccessible(true); tcField.set(handle, mockContext); // Set max_recv field using reflection (default is 4280 in parent class) Field maxRecvField = DcerpcHandle.class.getDeclaredField("max_recv"); maxRecvField.setAccessible(true); maxRecvField.set(handle, 4280); // Inject mocks using reflection
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
* * @return the binding */ public DcerpcBinding getBinding() { return this.binding; } /** * @return the max_recv */ int getMaxRecv() { return this.max_recv; } /** * @return the max_xmit */ int getMaxXmit() { return this.max_xmit; } /** * Get a handle to a service
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
/** * Maximum transmit buffer size for DCERPC messages */ protected int max_xmit = 4280; /** * Maximum receive buffer size for DCERPC messages */ protected int max_recv = max_xmit; /** * The current state of the DCERPC connection */ protected int state = 0; /** * The security provider for authentication and message protection */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
assertEquals(maxXmit, maxXmitField.get(bindWithParams), "Max xmit should be set"); Field maxRecvField = DcerpcBind.class.getDeclaredField("max_recv"); maxRecvField.setAccessible(true); assertEquals(maxRecv, maxRecvField.get(bindWithParams), "Max recv should be set"); } @Test @DisplayName("Package constructor should handle null binding")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
void testMaxValuesConfiguration() { // When: Getting max transmission values int maxRecv = handle.getMaxRecv(); int maxXmit = handle.getMaxXmit(); // Then: Should return positive values assertTrue(maxRecv > 0); assertTrue(maxXmit > 0); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0)