Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ erase
Method
erase
library/include/BitArray.h:272–274 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
270
}
271
272
void erase(T *ptr) {
273
memmove(ptr, ptr+1, sizeof(T)*(m_size - (ptr - m_data))); m_size--;
274
}
275
void insert(T *ptr, const T &item) {
276
int idx = ptr - m_data;
277
resize(m_size+1);
Callers
15
runCommand
Method · 0.45
removeScriptPath
Method · 0.45
RemoveAlias
Method · 0.45
TEST_F
Function · 0.45
run_timers
Function · 0.45
method_container_erase
Function · 0.45
~virtual_identity
Method · 0.45
find
Method · 0.45
find_union_tag_candidate
Function · 0.45
unregisterCommands
Method · 0.45
on_host_delete
Method · 0.45
apply
Method · 0.45
Calls
no outgoing calls
Tested by
1
TEST_F
Function · 0.36