Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ GetOutputWire
Method
GetOutputWire
components/components.go:178–181 ·
view source on GitHub ↗
(index int)
Source
from the content-addressed store, hash-verified
176
}
177
178
func
(z *IsZero) GetOutputWire(index int) bool {
179
// only 1 wire
180
return
z.output.Get()
181
}
182
183
func
(z *IsZero) SetInputWire(index int, value bool) {
184
z.inputs[index].Update(value)
Callers
nothing calls this directly
Calls
1
Get
Method · 0.45
Tested by
no test coverage detected