Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/NVIDIA/aistore
/ Assert
Function
Assert
cmn/debug/debug_on.go:115–119 ·
view source on GitHub ↗
(cond bool, a ...interface{})
Source
from the content-addressed store, hash-verified
113
}
114
115
func
Assert(cond bool, a ...
interface
{}) {
116
if
!cond {
117
_panic(a...)
118
}
119
}
120
121
func
AssertFunc(f
func
() bool, a ...
interface
{}) {
122
if
!f() {
Callers
15
Reg
Function · 0.92
Unreg
Function · 0.92
SetStats
Method · 0.92
MarshalJSON
Method · 0.92
checkObj
Method · 0.92
parseGoogleCksumHeader
Function · 0.92
checkJob
Method · 0.92
addJogger
Method · 0.92
setupXaction
Method · 0.92
setPodEnvVariables
Method · 0.92
put
Method · 0.92
removeByUUID
Method · 0.92
Calls
1
_panic
Function · 0.85
Tested by
no test coverage detected