Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getSendRegion (0.08 sec)

  1. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

            // Allocate regions larger than pool buffer size to force new allocations
            RdmaMemoryRegion region1 = bufferManager.getSendRegion(131072); // 128KB > 64KB pool size
            RdmaMemoryRegion region2 = bufferManager.getSendRegion(131072); // Another large allocation
    
            assertTrue(bufferManager.getTotalAllocated() > initialAllocated, "Total allocated should increase");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java

         *
         * @param minSize minimum required size
         * @return memory region for sending
         * @throws IOException if allocation fails
         */
        public RdmaMemoryRegion getSendRegion(int minSize) throws IOException {
            if (minSize <= sendBufferSize) {
                RdmaMemoryRegion region = availableSendRegions.poll();
                if (region != null) {
                    region.getBuffer().clear();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top