Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ resize
Method
resize
library/include/DataIdentity.h:519–522 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
517
}
518
519
virtual bool resize(void *ptr, int size) const {
520
((container*)ptr)->resize((size+7)/8);
521
return true;
522
}
523
524
protected:
525
virtual int item_count(void *ptr, CountMode cnt) const {
Callers
2
resize
Function · 0.45
resize
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected