MCPcopy Create free account
hub / github.com/cinder/Cinder / dataChecksOut

Function dataChecksOut

test/streamFileTest/src/streamFileTestApp.cpp:40–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40bool dataChecksOut( void *data, size_t dataSize, size_t curOffset )
41{
42 for( size_t b = 0; b < dataSize; ++b )
43 if( ((uint8_t*)data)[b] != (curOffset + b) % 256 )
44 return false;
45
46 return true;
47}
48
49template<typename S>
50void streamFileTestApp::readTest( fs::path filePath )

Callers 1

readTestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected