MCPcopy Create free account
hub / github.com/assaultcube/AC / cmpf

Function cmpf

source/src/tools.cpp:441–448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439}
440
441bool cmpf(char *fn, enet_uint32 c)
442{
443 int n = 0;
444 char *b = loadfile(fn, &n);
445 bool r = cmpb(b, n, c);
446 delete[] b;
447 return r;
448}
449
450enet_uint32 adler(unsigned char *data, size_t len)
451{

Callers 1

load_worldFunction · 0.85

Calls 2

loadfileFunction · 0.85
cmpbFunction · 0.85

Tested by

no test coverage detected