MCPcopy 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
72static crc_t string_crc(const string &s) {
73 return crc_finalize(crc_update(crc_init(), s.data(), s.size()));
74}
75
76bool Cache::lookup(const string &s) {
77 static const string default_value("XXX");

Callers 1

lookupMethod · 0.85

Calls 4

crc_finalizeFunction · 0.85
crc_updateFunction · 0.85
crc_initFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected