Ark Server API (ASA) - Wiki
|
#include <ContainerAllocationPolicies.h>
Public Types | |
typedef TFixedSparseArrayAllocator< NumInlineElements > | SparseArrayAllocator |
typedef TFixedAllocator< NumInlineHashBuckets > | HashAllocator |
Static Public Member Functions | |
static FORCEINLINE uint32 | GetNumberOfHashBuckets (uint32 NumHashedElements) |
Private Types | |
enum | { NumInlineHashBuckets = (NumInlineElements + AverageNumberOfElementsPerHashBucket - 1) / AverageNumberOfElementsPerHashBucket } |
An inline set allocator that doesn't have any secondary storage.
Definition at line 1194 of file ContainerAllocationPolicies.h.
typedef TFixedAllocator<NumInlineHashBuckets> TFixedSetAllocator< NumInlineElements, AverageNumberOfElementsPerHashBucket, MinNumberOfHashedElements >::HashAllocator |
Definition at line 1222 of file ContainerAllocationPolicies.h.
typedef TFixedSparseArrayAllocator<NumInlineElements> TFixedSetAllocator< NumInlineElements, AverageNumberOfElementsPerHashBucket, MinNumberOfHashedElements >::SparseArrayAllocator |
Definition at line 1221 of file ContainerAllocationPolicies.h.
|
private |
Enumerator | |
---|---|
NumInlineHashBuckets |
Definition at line 1198 of file ContainerAllocationPolicies.h.
|
inlinestatic |
Computes the number of hash buckets to use for a given number of elements.
Definition at line 1205 of file ContainerAllocationPolicies.h.