MCPcopy Create free account
hub / github.com/cel-expr/cel-go / trackCostCreateList

Function trackCostCreateList

interpreter/interpretable.go:2191–2195  ·  view source on GitHub ↗
(frame *ExecutionFrame, id int64, res ref.Val)

Source from the content-addressed store, hash-verified

2189)
2190
2191func trackCostCreateList(frame *ExecutionFrame, id int64, res ref.Val) {
2192 if costs := frame.CostTracker(); costs != nil {
2193 costs.CreateList(id, res)
2194 }
2195}
2196
2197func trackCostCreateMap(frame *ExecutionFrame, id int64, res ref.Val) {
2198 if costs := frame.CostTracker(); costs != nil {

Callers 1

ExecMethod · 0.85

Calls 2

CostTrackerMethod · 0.80
CreateListMethod · 0.80

Tested by

no test coverage detected