Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ GetOutputWire
Method
GetOutputWire
components/components.go:265–267 ·
view source on GitHub ↗
(index int)
Source
from the content-addressed store, hash-verified
263
}
264
265
func
(a *ANDer) GetOutputWire(index int) bool {
266
return
a.outputs[index].Get()
267
}
268
269
func
(a *ANDer) SetInputWire(index int, value bool) {
270
a.inputs[index].Update(value)
Callers
nothing calls this directly
Calls
1
Get
Method · 0.45
Tested by
no test coverage detected