- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for recv (0.02 sec)
-
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
when(mockSmbPipeHandleInternal.sendrecv(buf, 0, 50, inB, 4280)).thenReturn(40); when(mockSmbPipeHandleInternal.recv(inB, 40, 40)).thenReturn(40); int result = handle.doSendReceiveFragment(buf, 0, 50, inB); assertEquals(80, result); verify(mockSmbPipeHandleInternal).recv(inB, 40, 40); } @Test @DisplayName("Should throw IOException when handle is stale")
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/smb/SmbPipeHandleInternalTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
if (fraglen > getMaxRecv()) { throw new IOException("Unexpected fragment length: " + fraglen); } while (have < fraglen) { final int r = this.handle.recv(inB, have, fraglen - have); if (r == 0) { throw new IOException("Unexpected EOF"); } have += r; } return have; }
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/smb/SmbPipeHandleImplTest.java
verify(tree).send(captor.capture(), any()); assertNotNull(captor.getValue()); } @Test @DisplayName("recv delegates to input.readDirect and returns its value") void testRecvDelegation() throws Exception { SmbPipeHandleImpl spyTarget = spy(target); SmbPipeInputStream in = mock(SmbPipeInputStream.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleInternal.java
* @param off offset in the buffer * @param length maximum length to receive * @return number of bytes received * @throws IOException if an I/O error occurs */ int recv(byte[] buf, int off, int length) throws IOException; /** * Send data to the pipe * * @param buf buffer containing data to send * @param off offset in the buffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
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") void testPackageConstructorWithNullBinding() throws Exception { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
docs/bigdata/README.md
fs.s3a.max.total.tasks=2048 # Maximum number of parallel tasks fs.s3a.multipart.size=512M # Size of each multipart chunk fs.s3a.multipart.threshold=512M # Size before using multipart uploads fs.s3a.socket.recv.buffer=65536 # Read socket buffer hint fs.s3a.socket.send.buffer=65536 # Write socket buffer hint fs.s3a.threads.max=2048 # Maximum number of threads for S3A ```
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 14.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 10.2K bytes - Viewed (0) -
cmd/common-main.go
ctxt.SFTP = ctx.StringSlice("sftp") ctxt.Interface = ctx.String("interface") ctxt.UserTimeout = ctx.Duration("conn-user-timeout") ctxt.SendBufSize = ctx.Int("send-buf-size") ctxt.RecvBufSize = ctx.Int("recv-buf-size") ctxt.IdleTimeout = ctx.Duration("idle-timeout") ctxt.UserTimeout = ctx.Duration("conn-user-timeout") if conf := ctx.String("config"); len(conf) > 0 { err = mergeServerCtxtFromConfigFile(conf, ctxt)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.5K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
log.trace("Remote closed connection"); } else if (timeout) { log.debug("socket timeout in non peek state", ex); } else { log.debug("recv failed", ex); } synchronized (this) { try { disconnect(!timeout, false); } catch (final IOException ioe) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0)