MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / set

Method set

codegraph-kernel/src/buffers.rs:189–194  ·  view source on GitHub ↗
(&mut self, pair: u16, value: bool)

Source from the content-addressed store, hash-verified

187
188impl BoolFlags {
189 pub fn set(&mut self, pair: u16, value: bool) {
190 self.0 |= 1 << (pair * 2);
191 if value {
192 self.0 |= 1 << (pair * 2 + 1);
193 }
194 }
195}
196
197pub const FLAG_IS_EXPORTED: u16 = 0;

Callers 15

extractFunction · 0.45
create_nodeMethod · 0.45
extractFunction · 0.45
create_nodeMethod · 0.45
extractFunction · 0.45
create_nodeMethod · 0.45
extractFunction · 0.45
create_nodeMethod · 0.45
beginFunction · 0.45
exhaustedFunction · 0.45
extractFunction · 0.45
create_nodeMethod · 0.45

Calls

no outgoing calls

Tested by 15

makeContextFunction · 0.36
makeContextFunction · 0.36
tGraphFunction · 0.36
fencedLinesFunction · 0.36
putFunction · 0.36
onFunction · 0.36
encodeFrameFunction · 0.36
buildQuarterlyReportFunction · 0.36
persistReportFunction · 0.36
buildWeeklyReportFunction · 0.36
buildMonthlyReportFunction · 0.36
registerRunFunction · 0.36