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

Method GetOutputWire

components/bus.go:28–30  ·  view source on GitHub ↗
(index int)

Source from the content-addressed store, hash-verified

26 b.wires[index].Update(value)
27}
28func (b *Bus) GetOutputWire(index int) bool {
29 return b.wires[index].Get()
30}
31
32func (b *Bus) SetValue(value uint16) {
33 var x = 0

Callers 1

StringMethod · 0.95

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected