- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getTotalAllocated (0.08 sec)
-
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) -
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)