UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Allocator.h File Reference

Go to the source code of this file.

Classes

class  uLang::CAllocatorInstance
 
class  uLang::CHeapRawAllocator
 Raw memory allocator that allocates memory from the global heap. More...
 
class  uLang::CInstancedRawAllocator
 Raw memory allocator that keeps a pointer to an allocator instance which is used for allocation. More...
 
struct  uLang::SScriptContainerElement
 
struct  uLang::TAllocatorTraitsBase< AllocatorType >
 
struct  uLang::TAllocatorTraits< AllocatorType >
 
class  uLang::TDefaultElementAllocator< InRawAllocatorType, AllocatorArgsType >
 
class  uLang::TDefaultElementAllocator< InRawAllocatorType, AllocatorArgsType >::ForAnyElementType
 
class  uLang::TDefaultElementAllocator< InRawAllocatorType, AllocatorArgsType >::ForElementType< ElementType >
 
struct  uLang::TAllocatorTraits< TDefaultElementAllocator< RawAllocatorType > >
 
class  uLang::TInlineElementAllocator< NumInlineElements, SecondaryAllocator, AllocatorArgsType >
 
class  uLang::TInlineElementAllocator< NumInlineElements, SecondaryAllocator, AllocatorArgsType >::ForElementType< ElementType >
 
struct  uLang::TAllocatorTraits< TInlineElementAllocator< NumInlineElements, SecondaryAllocator > >
 

Namespaces

namespace  uLang
 

Enumerations

enum  uLang::EObserverId : uint32_t { uLang::ObserverId_Null = 0 }
 Id type for observer pointers. More...
 
enum  { uLang::DEFAULT_ALIGNMENT = 0 , uLang::MIN_ALIGNMENT = 8 }
 

Functions

ULANG_FORCEINLINE uint32_t uLang::RotateCRC32 (uint32_t CRC)
 
ULANG_FORCEINLINE voidoperator new (size_t NumBytes, const ::uLang::CHeapRawAllocator &Allocator)
 
ULANG_FORCEINLINE void operator delete (void *Memory, const ::uLang::CHeapRawAllocator &Allocator)
 
ULANG_FORCEINLINE voidoperator new (size_t NumBytes, const ::uLang::CInstancedRawAllocator &Allocator)
 
ULANG_FORCEINLINE void operator delete (void *Memory, const ::uLang::CInstancedRawAllocator &Allocator)
 
ULANG_FORCEINLINE size_t uLang::DefaultQuantizeSize (size_t Count, uint32_t Alignment)
 
ULANG_FORCEINLINE int32_t uLang::DefaultCalculateSlackShrink (int32_t NumElements, int32_t NumAllocatedElements, size_t BytesPerElement, bool bAllowQuantize, uint32_t Alignment=DEFAULT_ALIGNMENT)
 
ULANG_FORCEINLINE int32_t uLang::DefaultCalculateSlackGrow (int32_t NumElements, int32_t NumAllocatedElements, size_t BytesPerElement, bool bAllowQuantize, uint32_t Alignment=DEFAULT_ALIGNMENT)
 
ULANG_FORCEINLINE int32_t uLang::DefaultCalculateSlackReserve (int32_t NumElements, size_t BytesPerElement, bool bAllowQuantize, uint32_t Alignment=DEFAULT_ALIGNMENT)
 

Function Documentation

◆ operator delete() [1/2]

ULANG_FORCEINLINE void operator delete ( void Memory,
const ::uLang::CHeapRawAllocator Allocator 
)

◆ operator delete() [2/2]

ULANG_FORCEINLINE void operator delete ( void Memory,
const ::uLang::CInstancedRawAllocator Allocator 
)

◆ operator new() [1/2]

ULANG_FORCEINLINE void * operator new ( size_t  NumBytes,
const ::uLang::CHeapRawAllocator Allocator 
)

◆ operator new() [2/2]

ULANG_FORCEINLINE void * operator new ( size_t  NumBytes,
const ::uLang::CInstancedRawAllocator Allocator 
)