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

Method TrackSize

common/cost/tracker_test.go:379–381  ·  view source on GitHub ↗
(ctx cost.TrackContext, value ref.Val)

Source from the content-addressed store, hash-verified

377}
378
379func (testConcurrentSizingStrategy) TrackSize(ctx cost.TrackContext, value ref.Val) (uint64, bool) {
380 return 10, true
381}
382
383func TestTracker_ConcurrentCloneRace(t *testing.T) {
384 tracker, err := cost.NewTracker(nil, cost.WithSizingStrategy(testConcurrentSizingStrategy{}))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected