Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ GetOutputWire
Method
GetOutputWire
components/decoders.go:30–32 ·
view source on GitHub ↗
(index int)
Source
from the content-addressed store, hash-verified
28
}
29
30
func
(d *Decoder2x4) GetOutputWire(index int) bool {
31
return
d.outputs[index].Get()
32
}
33
34
func
(d *Decoder2x4) Update(inputA bool, inputB bool) {
35
d.inputA.Update(inputA)
Callers
nothing calls this directly
Calls
1
Get
Method · 0.45
Tested by
no test coverage detected