Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/abbeycode/UnrarKit
/ Cmp
Method
Cmp
Libraries/unrar/hash.cpp:128–135 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
126
127
128
bool DataHash::Cmp(HashValue *CmpValue,byte *Key)
129
{
130
HashValue Final;
131
Result(&Final);
132
if (Key!=NULL)
133
ConvertHashToMAC(&Final,Key);
134
return Final==*CmpValue;
135
}
Callers
4
ReadSubData
Method · 0.80
MergeArchive
Function · 0.80
ExtractUnixLink30
Function · 0.80
ExtractCurrentFile
Method · 0.80
Calls
1
ConvertHashToMAC
Function · 0.85
Tested by
no test coverage detected