Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AliveToolkit/alive2
/ string_crc
Function
string_crc
cache/cache.cpp:72–74 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
70
}
71
72
static crc_t string_crc(const string &s) {
73
return crc_finalize(crc_update(crc_init(), s.data(), s.size()));
74
}
75
76
bool Cache::lookup(const string &s) {
77
static const string default_value(
"XXX"
);
Callers
1
lookup
Method · 0.85
Calls
4
crc_finalize
Function · 0.85
crc_update
Function · 0.85
crc_init
Function · 0.85
size
Method · 0.45
Tested by
no test coverage detected