Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for getTotalAllocated (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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() {
    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)
  2. 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");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. 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");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 13.8K bytes
    - Click Count (0)
Back to Top