Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ GetOutputWire
Method
GetOutputWire
components/components.go:345–347 ·
view source on GitHub ↗
(index int)
Source
from the content-addressed store, hash-verified
343
}
344
345
func
(o *XORer) GetOutputWire(index int) bool {
346
return
o.outputs[index].Get()
347
}
348
349
func
(o *XORer) SetInputWire(index int, value bool) {
350
o.inputs[index].Update(value)
Callers
nothing calls this directly
Calls
1
Get
Method · 0.45
Tested by
no test coverage detected