Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ compute_hash
Function
compute_hash
library/binpatch.cpp:228–232 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
226
}
227
228
std::string compute_hash(const std::vector<patch_byte> &pvec)
229
{
230
md5wrapper md5;
231
return md5.getHashFromBytes(pvec.data(), pvec.size());
232
}
233
234
int main (int argc, char *argv[])
235
{
Callers
1
main
Function · 0.85
Calls
3
getHashFromBytes
Method · 0.80
data
Method · 0.45
size
Method · 0.45
Tested by
no test coverage detected