MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / Get

Method Get

FEXCore/Source/Common/BitSet.h:75–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 }
74
75 bool Get(T Element) {
76 return (Memory[Element / MinimumSizeBits] & (1ULL << (Element % MinimumSizeBits))) != 0;
77 }
78 void Set(T Element) {
79 Memory[Element / MinimumSizeBits] |= (1ULL << (Element % MinimumSizeBits));
80 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected