Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RenderKit/embree
/ shrink
Method
shrink
tutorials/verify/verify.cpp:733–737 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
731
}
732
733
size_t shrink() {
734
if (!ptr) return 0;
735
bytes = os_shrink(ptr,bytes/2,bytes,hugepages);
736
return bytes;
737
}
738
739
private:
740
void* ptr;
Callers
2
run
Method · 0.80
PrimUnreserve
Method · 0.80
Calls
1
os_shrink
Function · 0.85
Tested by
no test coverage detected