MCPcopy Create free account
hub / github.com/SmingHub/Sming / S

Class S

Sming/Core/Data/Uuid.cpp:27–29  ·  view source on GitHub ↗

Ensure these are strictly compared as a set of words to avoid PROGMEM issues

Source from the content-addressed store, hash-verified

25{
26 // Ensure these are strictly compared as a set of words to avoid PROGMEM issues
27 struct S {
28 uint32_t a, b, c, d;
29 };
30 auto& s1 = reinterpret_cast<const S&>(*this);
31 auto& s2 = reinterpret_cast<const S&>(other);
32 return s1.a == s2.a && s1.b == s2.b && s1.c == s2.c && s1.d == s2.d;

Callers 4

operator&Function · 0.70
operator|Function · 0.70
operator-Function · 0.70
operator^Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected