Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RevoSucks/BM64Recomp
/ contains
Method
contains
src/game/recomp_data_api.cpp:79–82 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
77
std::unordered_set<KeyType> set{};
78
public:
79
bool contains(const KeyType& key) {
80
std::lock_guard lock{mutex};
81
return set.contains(key);
82
}
83
84
bool insert(const KeyType& key) {
85
std::lock_guard lock{mutex};
Callers
nothing calls this directly
Calls
1
contains
Method · 0.45
Tested by
no test coverage detected