MCPcopy Create free account
hub / github.com/Profactor/cv-plot / which

Method which

CvPlot/ext/catch2/inc/catch.hpp:14728–14734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14726 enum Arch { Big, Little };
14727
14728 static Arch which() {
14729 int one = 1;
14730 // If the lowest byte we read is non-zero, we can assume
14731 // that little endian format is used.
14732 auto value = *reinterpret_cast<char*>(&one);
14733 return value ? Little : Big;
14734 }
14735 };
14736 }
14737

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected