Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIAGameWorks/PhysX
/ platformAlignedAlloc
Function
platformAlignedAlloc
physx/samples/samplebase/SampleAllocator.cpp:46–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
#include <crtdbg.h>
45
46
static void* platformAlignedAlloc(size_t size)
47
{
48
return _aligned_malloc(size, 16);
49
}
50
51
static void platformAlignedFree(void* ptr)
52
{
Callers
1
allocate
Method · 0.70
Calls
1
malloc
Function · 0.50
Tested by
no test coverage detected