Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 926 for receive (0.07 sec)

  1. docs/en/docs/tutorial/request-forms-and-files.md

    The files and form fields will be uploaded as form data and you will receive the files and form fields.
    
    And you can declare some of the files as `bytes` and some as `UploadFile`.
    
    /// warning
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

         */
        SmbFileHandle ensureOpen() throws CIFSException;
    
        /**
         * Receive data from the pipe
         *
         * @param buf buffer to receive data into
         * @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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateRequest.java

        }
    
        /**
         * Get maximum receive size
         *
         * @return maximum receive size in bytes
         */
        public int getMaxReceiveSize() {
            return maxReceiveSize;
        }
    
        /**
         * Set maximum receive size
         *
         * @param maxReceiveSize maximum receive size in bytes
         */
        public void setMaxReceiveSize(int maxReceiveSize) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/query-param-models.md

    You can use Pydantic's model configuration to `forbid` any `extra` fields:
    
    {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
    
    If a client tries to send some **extra** data in the **query parameters**, they will receive an **error** response.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java

            this.creditsGranted = creditsGranted;
        }
    
        /**
         * Get maximum receive size
         *
         * @return maximum receive size in bytes
         */
        public int getMaxReceiveSize() {
            return maxReceiveSize;
        }
    
        /**
         * Set maximum receive size
         *
         * @param maxReceiveSize maximum receive size in bytes
         */
        public void setMaxReceiveSize(int maxReceiveSize) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java

                    totalAllocated.incrementAndGet();
                } catch (IOException e) {
                    log.warn("Failed to pre-allocate receive buffer", e);
                }
            }
    
            log.info("Initialized RDMA buffer pool with {} send and {} receive buffers", availableSendRegions.size(),
                    availableReceiveRegions.size());
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

        public abstract void send(ByteBuffer data, RdmaMemoryRegion region) throws IOException;
    
        /**
         * Receive data using RDMA
         *
         * @param timeout timeout in milliseconds
         * @return received data buffer, or null if timeout
         * @throws IOException if receive fails
         */
        public abstract ByteBuffer receive(int timeout) throws IOException;
    
        /**
         * Perform RDMA read operation
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

         * @throws CIFSException if an error occurs retrieving the buffer size
         */
        int getSendBufferSize() throws CIFSException;
    
        /**
         * Gets the receive buffer size of the underlying SMB connection
         * @return the receive buffer size of the underlying connection
         * @throws CIFSException if an error occurs retrieving the buffer size
         */
        int getReceiveBufferSize() throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/request-files.md

    # Request Files { #request-files }
    
    You can define files to be uploaded by the client using `File`.
    
    /// info
    
    To receive uploaded files, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example:
    
    ```console
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java

            assertNotNull(capabilities, "Capabilities should not be null");
            assertEquals(1, capabilities.size(), "TCP provider should only support send/receive");
            assertTrue(capabilities.contains(RdmaCapability.RDMA_SEND_RECEIVE), "Should support send/receive");
            assertFalse(capabilities.contains(RdmaCapability.RDMA_READ), "Should not support RDMA read");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top