Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ runUpdateOn
Function
runUpdateOn
cpu/cpu.go:940–942 ·
view source on GitHub ↗
(component Updatable)
Source
from the content-addressed store, hash-verified
938
}
939
940
func
runUpdateOn(component Updatable) {
941
component.Update()
942
}
943
944
func
updateEnableStatus(component Enableable, state bool) {
945
if
state {
Callers
3
NewCPU
Function · 0.85
SetIAR
Method · 0.85
updateStates
Method · 0.85
Calls
1
Update
Method · 0.65
Tested by
no test coverage detected