MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / add

Method add

libraries/Set/Set.cpp:41–45  ·  view source on GitHub ↗

//////////////////////////////////////////////// METHODS

Source from the content-addressed store, hash-verified

39// METHODS
40//
41void Set::add(const uint8_t value)
42{
43 uint8_t idx = value / 8;
44 _mem[idx] |= _masks[value & 7];
45}
46
47
48void Set::sub(const uint8_t value)

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36