Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ GetOutputWire
Method
GetOutputWire
components/components.go:523–525 ·
view source on GitHub ↗
(index int)
Source
from the content-addressed store, hash-verified
521
}
522
523
func
(b *BusOne) GetOutputWire(index int) bool {
524
return
b.outputs[index].Get()
525
}
526
527
func
(b *BusOne) SetInputWire(index int, value bool) {
528
b.inputs[index].Update(value)
Callers
nothing calls this directly
Calls
1
Get
Method · 0.45
Tested by
no test coverage detected