Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ operator()
Method
operator()
source/core/StarByteArray.hpp:249–254 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
247
}
248
249
inline size_t hash<ByteArray>::operator()(ByteArray const& b) const {
250
PLHasher hash;
251
for (size_t i = 0; i < b.size(); ++i)
252
hash.put(b[i]);
253
return hash.hash();
254
}
255
256
}
257
Callers
nothing calls this directly
Calls
3
size
Method · 0.45
put
Method · 0.45
hash
Method · 0.45
Tested by
no test coverage detected