MCPcopy Create free account
hub / github.com/RenderKit/embree / allocate

Method allocate

common/sys/alloc.h:62–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 typedef std::ptrdiff_t difference_type;
61
62 __forceinline pointer allocate( size_type n ) {
63 return (pointer) alignedMalloc(n*sizeof(value_type),alignment);
64 }
65
66 __forceinline void deallocate( pointer p, size_type n ) {
67 return alignedFree(p);

Callers

nothing calls this directly

Calls 1

alignedMallocFunction · 0.85

Tested by

no test coverage detected