MCPcopy Create free account
hub / github.com/cwida/ALP / ExtractValue

Method ExtractValue

publication/source_code/include/chimp/flag_buffer.hpp:57–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56#ifdef DEBUG
57 uint8_t ExtractValue(uint32_t value, uint8_t index) {
58 return (value & FlagBufferConstants::MASKS[index]) >> FlagBufferConstants::SHIFTS[index];
59 }
60#endif
61
62 uint64_t BitsWritten() const { return counter * 2; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected