Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 507 for send0 (0.05 seconds)

  1. 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,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. 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),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  3. docs_src/openapi_callbacks/tutorial001_py310.py

        And this path operation will:
    
        * Send the invoice to the client.
        * Collect the money from the client.
        * Send a notification back to the API user (the external developer), as a callback.
            * At this point is that the API will somehow send a POST request to the
                external API with the notification of the invoice event
                (e.g. "payment successful").
        """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

        }
    
        /**
         * Get the preferred size for send operations
         *
         * @return preferred send size in bytes
         */
        public int getPreferredSendSize() {
            return preferredSendSize;
        }
    
        /**
         * Set the preferred size for send operations
         *
         * @param preferredSendSize preferred send size in bytes
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. 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;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  6. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/websockets.md

    ///
    
    ## Await for messages and send messages { #await-for-messages-and-send-messages }
    
    In your WebSocket route you can `await` for messages and send messages.
    
    {* ../../docs_src/websockets_/tutorial001_py310.py hl[48:52] *}
    
    You can receive and send binary, text, and JSON data.
    
    ## Try it { #try-it }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  9. fastapi/middleware/asyncexitstack.py

            async with AsyncExitStack() as stack:
                scope[self.context_name] = stack
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 637 bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java

                    log.warn("Failed to pre-allocate receive buffer", e);
                }
            }
    
            log.info("Initialized RDMA buffer pool with {} send and {} receive buffers", availableSendRegions.size(),
                    availableReceiveRegions.size());
        }
    
        /**
         * Get a send region from the pool or allocate a new one
         *
         * @param minSize minimum required size
         * @return memory region for sending
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 8.7K bytes
    - Click Count (0)
Back to Top