Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FMallocBinned2::FPtrToPoolMapping Struct Reference

Public Member Functions

 FPtrToPoolMapping ()
 
 FPtrToPoolMapping (uint32 InPageSize, uint64 InNumPoolsPerPage, uint64 AddressLimit)
 
void Init (uint32 InPageSize, uint64 InNumPoolsPerPage, uint64 AddressLimit)
 
FORCEINLINE void GetHashBucketAndPoolIndices (const void *InPtr, uint32 &OutBucketIndex, UPTRINT &OutBucketCollision, uint32 &OutPoolIndex) const
 
FORCEINLINE uint64 GetMaxHashBuckets () const
 

Private Attributes

uint64 PtrToPoolPageBitShift
 
uint64 HashKeyShift
 
uint64 PoolMask
 
uint64 MaxHashBuckets
 

Detailed Description

Definition at line 224 of file MallocBinned2.h.

Constructor & Destructor Documentation

◆ FPtrToPoolMapping() [1/2]

FMallocBinned2::FPtrToPoolMapping::FPtrToPoolMapping ( )
inline

Definition at line 226 of file MallocBinned2.h.

◆ FPtrToPoolMapping() [2/2]

FMallocBinned2::FPtrToPoolMapping::FPtrToPoolMapping ( uint32 InPageSize,
uint64 InNumPoolsPerPage,
uint64 AddressLimit )
inlineexplicit

Definition at line 233 of file MallocBinned2.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ GetHashBucketAndPoolIndices()

FORCEINLINE void FMallocBinned2::FPtrToPoolMapping::GetHashBucketAndPoolIndices ( const void * InPtr,
uint32 & OutBucketIndex,
UPTRINT & OutBucketCollision,
uint32 & OutPoolIndex ) const
inline

Definition at line 248 of file MallocBinned2.h.

◆ GetMaxHashBuckets()

FORCEINLINE uint64 FMallocBinned2::FPtrToPoolMapping::GetMaxHashBuckets ( ) const
inline

Definition at line 255 of file MallocBinned2.h.

◆ Init()

void FMallocBinned2::FPtrToPoolMapping::Init ( uint32 InPageSize,
uint64 InNumPoolsPerPage,
uint64 AddressLimit )
inline

Definition at line 238 of file MallocBinned2.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ HashKeyShift

uint64 FMallocBinned2::FPtrToPoolMapping::HashKeyShift
private

Shift required to get required hash table key.

Definition at line 265 of file MallocBinned2.h.

◆ MaxHashBuckets

uint64 FMallocBinned2::FPtrToPoolMapping::MaxHashBuckets
private

Definition at line 271 of file MallocBinned2.h.

◆ PoolMask

uint64 FMallocBinned2::FPtrToPoolMapping::PoolMask
private

Used to mask off the bits that have been used to lookup the indirect table

Definition at line 268 of file MallocBinned2.h.

◆ PtrToPoolPageBitShift

uint64 FMallocBinned2::FPtrToPoolMapping::PtrToPoolPageBitShift
private

Shift to apply to a pointer to get the reference from the indirect tables

Definition at line 262 of file MallocBinned2.h.


The documentation for this struct was generated from the following file: