- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getMaxRecv (0.97 sec)
-
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
throw new IOException("DCERPC pipe is no longer open"); } int have = this.handle.sendrecv(buf, off, length, inB, getMaxRecv()); final int fraglen = Encdec.dec_uint16le(inB, 8); if (fraglen > getMaxRecv()) { throw new IOException("Unexpected fragment length: " + fraglen); } while (have < fraglen) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
// 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
lenient().doCallRealMethod().when(handle).doReceiveFragment(any(byte[].class)); lenient().doCallRealMethod().when(handle).close(); // Add getMaxRecv() to return correct value lenient().when(handle.getMaxRecv()).thenReturn(4280); return handle; } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test
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 testGetters() throws CIFSException { // When/Then: All getters should return expected values assertEquals(mockBinding, handle.getBinding()); assertTrue(handle.getMaxRecv() > 0); assertTrue(handle.getMaxXmit() > 0); assertEquals("test_server", handle.getServer()); assertEquals("test_server_dfs", handle.getServerWithDfs());
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/DcerpcBind.java
public DcerpcBind() { } DcerpcBind(final DcerpcBinding binding, final DcerpcHandle handle) { this.binding = binding; this.max_xmit = handle.getMaxXmit(); this.max_recv = handle.getMaxRecv(); this.ptype = 11; this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; } @Override public int getOpnum() { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K 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; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0)