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