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

Method SetInputWire

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

Source from the content-addressed store, hash-verified

181}
182
183func (z *IsZero) SetInputWire(index int, value bool) {
184 z.inputs[index].Update(value)
185}
186
187func (z *IsZero) Update() {
188 for i, _ := range z.inputs {

Callers 1

TestIsZeroFunction · 0.95

Calls 1

UpdateMethod · 0.65

Tested by 1

TestIsZeroFunction · 0.76