MCPcopy Create free account
hub / github.com/djhworld/simple-computer / SetInputWire

Method SetInputWire

components/components.go:126–128  ·  view source on GitHub ↗
(index int, value bool)

Source from the content-addressed store, hash-verified

124}
125
126func (r *RightShifter) SetInputWire(index int, value bool) {
127 r.inputs[index].Update(value)
128}
129
130func (r *RightShifter) ShiftOut() bool {
131 return r.shiftOut.Get()

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.65

Tested by

no test coverage detected