- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 386 for send0 (0.03 sec)
-
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
// Stub tree send for varargs when(treeConnection.send(eq(resourceLoc), any(CommonServerMessageBlockRequest.class), isNull(), any(RequestParam[].class))) .thenReturn(resp); CommonServerMessageBlockResponse out = handle.send(req, RequestParam.NO_RETRY); assertSame(resp, out);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
assertFalse(it.hasNext(), "Iterator should be exhausted"); // Close explicitly to exercise doCloseInternal it.close(); // Verify interactions: one create, two additional directory queries (for fetchMore), one close verify(tree, times(1)).send(argThat((Request<?> r) -> r instanceof Smb2CreateRequest));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
when(mockFile.getType()).thenReturn(SmbConstants.TYPE_NAMED_PIPE); // th.send(request, response, ...) throws SmbException with NT_STATUS_PIPE_BROKEN doThrow(new SmbException(NtStatus.NT_STATUS_PIPE_BROKEN, false)).when(mockTree) .send(any(jcifs.internal.CommonServerMessageBlockRequest.class),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
// Arrange: program send() to simulate first, next, next(NO_MORE_FILES) List<String[]> batches = new ArrayList<>(); batches.add(new String[] { ".", "..", "a", "b" }); // first batch, dot entries filtered batches.add(new String[] { "c" }); // second batch batches.add(new String[] {}); // last -> NO_MORE_FILES // send() answer that mutates the provided response
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
server.send(message3) clientListener.assertTextMessage(message3) // Empty client to server message. val message4 = "" client.send(message4) serverListener.assertTextMessage(message4) // Server to client message that shares context with message1. val message5 = message1 + message1 server.send(message5) clientListener.assertTextMessage(message5)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
// Mock for ensureOpen to reopen file when(mockFile.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(mockFileHandle); when(mockTreeHandle.send(any(Smb2WriteRequest.class), any())).thenReturn(mockWriteResponse); when(mockWriteResponse.getCount()).thenReturn(1); outputStream = new SmbFileOutputStream(mockFile, mockTreeHandle, mockFileHandle,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
* authentication). If false and the user has not been authenticated yet * the client will be forced to send an authentication (server sends * HttpServletResponse.SC_UNAUTHORIZED). * @return True if the negotiation is complete, otherwise false * @throws IOException if an I/O error occurs
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.3K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
} /** * Establish RDMA connection */ public abstract void connect() throws IOException; /** * Send data using RDMA */ public abstract void send(ByteBuffer data, RdmaMemoryRegion region) throws IOException; /** * Receive data using RDMA */ public abstract ByteBuffer receive(int timeout) throws IOException;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
when(ioResp.getOutputData()).thenReturn(peek); when(tree.send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY))).thenReturn(ioResp); // Act int available = stream.available(); // Assert assertEquals(7, available, "Should return available bytes reported by server"); // Interactions: ensure open, use tree, send IOCTL and close resources
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleInternal.java
*/ 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 * @param length length of data to send * @throws IOException if an I/O error occurs */ void send(byte[] buf, int off, int length) throws IOException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0)