Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ updateSetStatus
Function
updateSetStatus
cpu/cpu.go:952–958 ·
view source on GitHub ↗
(component Settable, state bool)
Source
from the content-addressed store, hash-verified
950
}
951
952
func
updateSetStatus(component Settable, state bool) {
953
if
state {
954
component.Set()
955
}
else
{
956
component.Unset()
957
}
958
}
Callers
11
NewCPU
Function · 0.85
SetIAR
Method · 0.85
runSetOnIO
Method · 0.85
runSetOnMAR
Method · 0.85
runSetOnIAR
Method · 0.85
runSetOnIR
Method · 0.85
runSetOnACC
Method · 0.85
runSetOnFLAGS
Method · 0.85
runSetOnRAM
Method · 0.85
runSetOnTMP
Method · 0.85
runSetGeneralPurposeRegisters
Method · 0.85
Calls
2
Set
Method · 0.65
Unset
Method · 0.65
Tested by
no test coverage detected