MCPcopy Create free account
hub / github.com/N64Recomp/N64Recomp / byteswap_compare

Function byteswap_compare

LiveRecomp/live_recompiler_test.cpp:45–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45bool byteswap_compare(uint8_t* a, uint8_t* b, size_t count) {
46 for (size_t i = 0; i < count; i++) {
47 if (a[i ^ 3] != b[i]) {
48 return false;
49 }
50 }
51 return true;
52}
53
54enum class TestError {
55 Success,

Callers 1

run_testFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected