Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ GetOutputWire
Method
GetOutputWire
components/bus.go:28–30 ·
view source on GitHub ↗
(index int)
Source
from the content-addressed store, hash-verified
26
b.wires[index].Update(value)
27
}
28
func
(b *Bus) GetOutputWire(index int) bool {
29
return
b.wires[index].Get()
30
}
31
32
func
(b *Bus) SetValue(value uint16) {
33
var
x = 0
Callers
1
String
Method · 0.95
Calls
1
Get
Method · 0.45
Tested by
no test coverage detected