Ark Server API (ASA) - 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 1157 of file ContainerAllocationPolicies.h.
typedef TInlineAllocator<NumInlineHashBuckets,typename SecondaryAllocator::HashAllocator> TInlineSetAllocator< NumInlineElements, SecondaryAllocator, AverageNumberOfElementsPerHashBucket, MinNumberOfHashedElements >::HashAllocator |
Definition at line 1185 of file ContainerAllocationPolicies.h.
typedef TInlineSparseArrayAllocator<NumInlineElements,typename SecondaryAllocator::SparseArrayAllocator> TInlineSetAllocator< NumInlineElements, SecondaryAllocator, AverageNumberOfElementsPerHashBucket, MinNumberOfHashedElements >::SparseArrayAllocator |
Definition at line 1184 of file ContainerAllocationPolicies.h.
|
private |
Enumerator | |
---|---|
NumInlineHashBuckets |
Definition at line 1161 of file ContainerAllocationPolicies.h.
|
inlinestatic |
Computes the number of hash buckets to use for a given number of elements.
Definition at line 1168 of file ContainerAllocationPolicies.h.