Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
specialAlloc
Method · 0.80
getAllocatedBytes
Method · 0.80
Calls
2
min
Function · 0.50
max
Function · 0.50
Tested by
no test coverage detected