- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for maxRecv (0.05 sec)
-
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
void testPackageConstructor() throws Exception { // Given int maxXmit = 4096; int maxRecv = 4096; when(mockHandle.getMaxXmit()).thenReturn(maxXmit); when(mockHandle.getMaxRecv()).thenReturn(maxRecv); // When DcerpcBind bindWithParams = new DcerpcBind(mockBinding, mockHandle); // Then
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/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/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) -
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/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java
FessEnv.SimpleImpl maxEnv = new FessEnv.SimpleImpl() { protected Properties prepareProperties() { Properties props = new Properties(); props.setProperty(FessEnv.TIME_ADJUST_TIME_MILLIS, String.valueOf(Long.MAX_VALUE)); return props; } }; assertEquals(Long.valueOf(Long.MAX_VALUE), maxEnv.getTimeAdjustTimeMillisAsLong()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.5K 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)