MCPcopy Create free account
hub / github.com/JACoders/OpenJK / Com_BlockChecksum

Function Com_BlockChecksum

code/qcommon/md4.cpp:203–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201//===================================================================
202
203uint32_t Com_BlockChecksum( const void *buffer, int length )
204{
205 int digest[4];
206 uint32_t val;
207
208 mdfour( (byte *)digest, (byte *)buffer, length );
209
210 val = digest[0] ^ digest[1] ^ digest[2] ^ digest[3];
211
212 return val;
213}

Callers 4

read_chunkMethod · 0.70
write_chunkMethod · 0.70
CM_LoadMap_ActualFunction · 0.70
FS_LoadZipFileFunction · 0.70

Calls 1

mdfourFunction · 0.70

Tested by

no test coverage detected