Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ SetInputWire
Method
SetInputWire
components/components.go:126–128 ·
view source on GitHub ↗
(index int, value bool)
Source
from the content-addressed store, hash-verified
124
}
125
126
func
(r *RightShifter) SetInputWire(index int, value bool) {
127
r.inputs[index].Update(value)
128
}
129
130
func
(r *RightShifter) ShiftOut() bool {
131
return
r.shiftOut.Get()
Callers
nothing calls this directly
Calls
1
Update
Method · 0.65
Tested by
no test coverage detected