|
void * | Memory::Alloc (HeapType heapType, size_t size, size_t alignment) |
| Allocate a block of memory from one of the global heaps.
|
|
void * | Memory::Realloc (HeapType heapType, void *ptr, size_t size) |
| Re-Allocate a block of memory from one of the global heaps.
|
|
void | Memory::Free (HeapType heapType, void *ptr) |
| Free a block of memory.
|
|
char * | Memory::DuplicateCString (const char *from) |
| Duplicate a 0-terminated string, this method should no longer be used!
|
|
bool | Memory::IsOverlapping (const unsigned char *srcPtr, size_t srcSize, const unsigned char *dstPtr, size_t dstSize) |
| Test if 2 areas of memory areas are overlapping.
|
|
TotalMemoryStatus | Memory::GetTotalMemoryStatus () |
| Get the system's total memory status.
|
|
void | Memory::DumpTotalMemoryStatus () |
| Dump detail memory status information.
|
|
__forceinline void * | Memory::AllocVirtual (size_t size) |
| allocate a range of virtual memory space
|
|
__forceinline void | Memory::CommitVirtual (void *ptr, size_t size) |
| commit virtual memory
|
|
__forceinline void | Memory::DecommitVirtual (void *ptr, size_t size) |
| decommit virtual memory
|
|
__forceinline void | Memory::FreeVirtual (void *ptr, size_t size) |
| free virtual memory
|
|
void * | operator new (size_t size) noexcept(false) |
| Replacement global new/delete operators.
|
|
void * | operator new (size_t size, std::align_val_t al) noexcept(false) |
|
void * | operator new (size_t size, const std::nothrow_t &noThrow) noexcept |
|
void * | operator new[] (size_t size) noexcept(false) |
| Replacement global new[] operators.
|
|
void * | operator new[] (size_t size, std::align_val_t al) noexcept(false) |
|
void * | operator new[] (size_t size, const std::nothrow_t &noThrow) noexcept |
|
void | operator delete (void *p) |
| Replacement global delete operator.
|
|
void | operator delete[] (void *p) |
| Replacement global delete[] operator.
|
|