Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FMallocBinned4
Information about a piece of free memory.
| Name | FFreeBlock |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/MallocBinned4.h |
| Include Path | #include "HAL/MallocBinned4.h" |
Syntax
struct FFreeBlock
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFreeBlock
(
uint32 InPageSize, |
HAL/MallocBinned4.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InvalidNextFreeBlock | uint32 | HAL/MallocBinned4.h | |
| MaxBitsForFreeBins | uint32 | Constexpr static uint32 MaxBitsForBinSize = 32 - FMath::CountLeadingZeros(UE_MB4_MAX_SMALL_POOL_SIZE)); | HAL/MallocBinned4.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BinSize | uint16 | HAL/MallocBinned4.h | ||
| CanaryAndForkState | EBlockCanary | HAL/MallocBinned4.h | ||
| NextFreeBlockIndex | uint16 | HAL/MallocBinned4.h | ||
| NumFreeBins | uint16 | HAL/MallocBinned4.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void * AllocateBin() |
HAL/MallocBinned4.h | ||
FFreeBlock * GetNextFreeBlock() |
HAL/MallocBinned4.h | ||
uint32 GetNumFreeBins() |
HAL/MallocBinned4.h | ||
void SetNextFreeBlock
(
FFreeBlock* Next |
HAL/MallocBinned4.h |