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

Method SetInputWire

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

Source from the content-addressed store, hash-verified

231}
232
233func (n *NOTer) SetInputWire(index int, value bool) {
234 n.inputs[index].Update(value)
235}
236
237func (n *NOTer) Update() {
238 for i, _ := range n.gates {

Callers 1

TestNOTerFunction · 0.95

Calls 1

UpdateMethod · 0.65

Tested by 1

TestNOTerFunction · 0.76