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