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

Method getBlockAllocatedBytes

kernels/common/alloc.h:883–885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

881 }
882
883 size_t getBlockAllocatedBytes() const {
884 return min(max(allocEnd,size_t(cur)),reserveEnd);
885 }
886
887 size_t getBlockWastedBytes() const {
888 const size_t sizeof_Header = offsetof(Block,data[0]);

Callers 2

specialAllocMethod · 0.80
getAllocatedBytesMethod · 0.80

Calls 2

minFunction · 0.50
maxFunction · 0.50

Tested by

no test coverage detected