MCPcopy Create free account
hub / github.com/ddnet/ddnet / UndiffItem

Function UndiffItem

src/engine/client/ghost.cpp:432–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430}
431
432static void UndiffItem(const uint32_t *pPast, const uint32_t *pDiff, uint32_t *pOut, size_t Size)
433{
434 while(Size)
435 {
436 *pOut = *pPast + *pDiff;
437 pOut++;
438 pPast++;
439 pDiff++;
440 Size--;
441 }
442}
443
444bool CGhostLoader::ReadData(int Type, void *pData, size_t Size)
445{

Callers 2

ReadDataMethod · 0.85
UnpackDeltaMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected