- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for maxRecv (0.05 seconds)
-
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.7K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (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); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.3K bytes - Click Count (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 serviceCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.9K bytes - Click Count (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()); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (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 */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.7K bytes - Click Count (0)