- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for getTotalAllocated (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
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)