MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / isValid

Method isValid

pj_datastore/src/buffer.cpp:86–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86bool BitVector::isValid(std::size_t bit_index) const {
87 return (bytes_[bit_index / 8] & (1u << (bit_index % 8))) != 0;
88}
89
90std::size_t BitVector::countNulls(std::size_t num_bits) const {
91 const std::size_t num_bytes = bytesForBits(num_bits);

Callers 15

drawBackgroundMethod · 0.45
applyCurveElementMethod · 0.45
paintFrameFunction · 0.45
onPickerColorChangedMethod · 0.45
onStylesheetChangedMethod · 0.45
colorForSourceMethod · 0.45
TEST_FFunction · 0.45
setColorMethod · 0.45
onHexCommittedMethod · 0.45
LayerListView.cppFile · 0.45
openPopupMethod · 0.45
rasterizeSvgIconFunction · 0.45

Calls

no outgoing calls

Tested by 12

TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
SetUpMethod · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
SetUpMethod · 0.36
SetUpMethod · 0.36
TESTFunction · 0.36