#include <GrowOnlySpanAllocator.h>
◆ FGrowOnlySpanAllocator()
| FGrowOnlySpanAllocator::FGrowOnlySpanAllocator |
( |
| ) |
|
|
inline |
◆ Allocate()
| int32 FGrowOnlySpanAllocator::Allocate |
( |
int32 |
Num | ) |
|
◆ BeginDeferMerges()
| void FGrowOnlySpanAllocator::BeginDeferMerges |
( |
| ) |
|
Between these calls to Free just appends the allocation to the free list, rather than trying to merge with existing allocations. At EndDeferMerges the free list is consolidated by sorting and merging all spans. This amortises the cost of the merge over many calls.
◆ EndDeferMerges()
| void FGrowOnlySpanAllocator::EndDeferMerges |
( |
| ) |
|
◆ Free()
◆ GetMaxSize()
| int32 FGrowOnlySpanAllocator::GetMaxSize |
( |
| ) |
const |
|
inline |
◆ GetNumFreeSpans()
| int32 FGrowOnlySpanAllocator::GetNumFreeSpans |
( |
| ) |
const |
|
inline |
◆ GetSparselyAllocatedSize()
| int32 FGrowOnlySpanAllocator::GetSparselyAllocatedSize |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: