Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/NVIDIA/aistore
/ AssertFunc
Function
AssertFunc
cmn/debug/debug_on.go:121–125 ·
view source on GitHub ↗
(f func() bool, a ...interface{})
Source
from the content-addressed store, hash-verified
119
}
120
121
func
AssertFunc(f
func
() bool, a ...
interface
{}) {
122
if
!f() {
123
_panic(a...)
124
}
125
}
126
127
func
AssertMsg(cond bool, msg string) {
128
if
!cond {
Callers
5
forwardCP
Method · 0.92
fini
Method · 0.92
Remove
Method · 0.92
GetCopies
Method · 0.92
syncMetaWithCopies
Method · 0.92
Calls
2
f
Function · 0.85
_panic
Function · 0.85
Tested by
no test coverage detected