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

Function adler

source/src/tools.cpp:450–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448}
449
450enet_uint32 adler(unsigned char *data, size_t len)
451{
452 enet_uint32 a = 1, b = 0;
453 while (len--)
454 {
455 a += *data++;
456 b += a;
457 }
458 return b;
459}
460
461bool isbigendian()
462{

Callers 1

getbuildtypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected