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

Function callEstimate

ext/costs.go:84–86  ·  view source on GitHub ↗
(cost checker.CostEstimate, sz *checker.SizeEstimate)

Source from the content-addressed store, hash-verified

82}
83
84func callEstimate(cost checker.CostEstimate, sz *checker.SizeEstimate) *checker.CallEstimate {
85 return &checker.CallEstimate{CostEstimate: cost, ResultSize: sz}
86}
87
88func rangedSizeEstimate(min, max uint64) checker.SizeEstimate {
89 return checker.SizeEstimate{Min: min, Max: max}

Callers 12

estimateStringCharAtCostFunction · 0.85
estimateSubstringCostFunction · 0.85
estimateStringSearchCostFunction · 0.85
estimateStringSplitCostFunction · 0.85
estimateStringJoinCostFunction · 0.85
estimateSetsCostFunction · 0.85
estimateExtractCostFunction · 0.85
estimateExtractAllCostFunction · 0.85
estimateReplaceCostFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected