Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ GetOutputWire
Method
GetOutputWire
components/components.go:73–75 ·
view source on GitHub ↗
(index int)
Source
from the content-addressed store, hash-verified
71
}
72
73
func
(l *LeftShifter) GetOutputWire(index int) bool {
74
return
l.outputs[index].Get()
75
}
76
77
func
(l *LeftShifter) SetInputWire(index int, value bool) {
78
l.inputs[index].Update(value)
Callers
nothing calls this directly
Calls
1
Get
Method · 0.45
Tested by
no test coverage detected