Ark Server API (ASE) - Wiki
|
#include <ContainerAllocationPolicies.h>
Public Types | |
typedef TInlineSparseArrayAllocator< NumInlineElements, typename SecondaryAllocator::SparseArrayAllocator > | SparseArrayAllocator |
typedef TInlineAllocator< NumInlineHashBuckets, typename SecondaryAllocator::HashAllocator > | HashAllocator |
Static Public Member Functions | |
static FORCEINLINE uint32 | GetNumberOfHashBuckets (uint32 NumHashedElements) |
Private Types | |
enum | { NumInlineHashBuckets = (NumInlineElements + AverageNumberOfElementsPerHashBucket - 1) / AverageNumberOfElementsPerHashBucket } |
An inline set allocator that allows sizing of the inline allocations for a set number of elements.
Definition at line 755 of file ContainerAllocationPolicies.h.
typedef TInlineAllocator<NumInlineHashBuckets,typename SecondaryAllocator::HashAllocator> TInlineSetAllocator< NumInlineElements, SecondaryAllocator, AverageNumberOfElementsPerHashBucket, MinNumberOfHashedElements >::HashAllocator |
Definition at line 783 of file ContainerAllocationPolicies.h.
typedef TInlineSparseArrayAllocator<NumInlineElements,typename SecondaryAllocator::SparseArrayAllocator> TInlineSetAllocator< NumInlineElements, SecondaryAllocator, AverageNumberOfElementsPerHashBucket, MinNumberOfHashedElements >::SparseArrayAllocator |
Definition at line 782 of file ContainerAllocationPolicies.h.
|
private |
Enumerator | |
---|---|
NumInlineHashBuckets |
Definition at line 759 of file ContainerAllocationPolicies.h.
|
inlinestatic |
Computes the number of hash buckets to use for a given number of elements.
Definition at line 766 of file ContainerAllocationPolicies.h.