MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / Allocate

Function Allocate

modules/engine/graphics/src/d3d12/D3D12MemAlloc.cpp:196–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194
195template<typename T>
196static T* Allocate(const ALLOCATION_CALLBACKS& allocs)
197{
198 return (T*)Malloc(allocs, sizeof(T), __alignof(T));
199}
200template<typename T>
201static T* AllocateArray(const ALLOCATION_CALLBACKS& allocs, size_t count)
202{

Callers 7

NormalBlockClass · 0.70
AllocateBytesMethod · 0.50
AllocateBytesMethod · 0.50
user_write_compressedMethod · 0.50
decodeMethod · 0.50
decodeMethod · 0.50
encodeMethod · 0.50

Calls 1

MallocFunction · 0.85

Tested by

no test coverage detected