Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getTotalAllocated (0.19 sec)

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

            long initialAllocated = bufferManager.getTotalAllocated();
    
            // 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/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

                assertNotNull(recvRegion.getBuffer(), "Receive region buffer should not be null");
    
                // Test buffer pooling statistics
                long initialAllocated = bufferManager.getTotalAllocated();
                long initialActive = bufferManager.getActiveRegions();
    
                assertTrue(initialAllocated >= 2, "Should have allocated at least 2 regions");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java

        public void close() throws Exception {
            cleanup();
        }
    
        /**
         * Get total number of regions allocated
         *
         * @return total allocated regions
         */
        public long getTotalAllocated() {
            return totalAllocated.get();
        }
    
        /**
         * Get total number of regions released
         *
         * @return total released regions
         */
        public long getTotalReleased() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. docs/smb3-features/05-rdma-smb-direct-design.md

            }
            
            while ((region = availableReceiveRegions.poll()) != null) {
                region.close();
                totalReleased.incrementAndGet();
            }
        }
        
        public long getTotalAllocated() { return totalAllocated.get(); }
        public long getTotalReleased() { return totalReleased.get(); }
        public long getActiveRegions() { return totalAllocated.get() - totalReleased.get(); }
    }
    ```
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
Back to top