Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ hasTarget
Method
hasTarget
common/cost/model.go:1187–1189 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1185
}
1186
1187
func
(m OverloadModel) hasTarget() bool {
1188
return
m.IsMember || hasTarget(m.Cost) || hasTarget(m.Size)
1189
}
1190
1191
var
estimatorCtxPool = sync.Pool{
1192
New:
func
() any {
Callers
2
buildEstimator
Method · 0.95
buildTracker
Method · 0.95
Calls
1
hasTarget
Function · 0.85
Tested by
no test coverage detected