Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RenderKit/embree
/ Allocation
Method
Allocation
tutorials/verify/verify.cpp:720–721 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
718
struct Allocation
719
{
720
Allocation (size_t bytes)
721
: ptr(os_malloc(bytes,hugepages)), bytes(bytes) {}
722
723
~Allocation() {
724
free();
Callers
nothing calls this directly
Calls
1
os_malloc
Function · 0.85
Tested by
no test coverage detected