Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BanjoRecomp/BanjoRecomp
/ erase
Method
erase
src/game/recomp_data_api.cpp:36–40 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
}
35
36
bool erase(const KeyType& key) {
37
std::lock_guard lock{mutex};
38
size_t num_erased = map.erase(key);
39
return num_erased != 0;
40
}
41
42
void clear() {
43
std::lock_guard lock{mutex};
Callers
15
recomp_destroy_object_data
Function · 0.45
erase_first
Method · 0.45
erase
Method · 0.45
erase
Method · 0.45
erase_first
Method · 0.45
recomputil_destroy_u32_value_hashmap
Function · 0.45
recomputil_u32_value_hashmap_erase
Function · 0.45
recomputil_destroy_u32_memory_hashmap
Function · 0.45
recomputil_u32_memory_hashmap_erase
Function · 0.45
recomputil_destroy_u32_hashset
Function · 0.45
recomputil_u32_hashset_erase
Function · 0.45
recomputil_destroy_u32_slotmap
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected