- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for IsLiteral (0.09 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/library/cost.go
sz := l.sizeEstimate(*target) // Worst case size is where is that a separator of "" is used, and each char is returned as a list element. max := sz.Max if len(args) > 1 { if v := args[1].Expr().AsLiteral(); v != nil { if i, ok := v.Value().(int64); ok { max = uint64(i) } } } // Cost is the traversal plus the construction of the result.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 20.6K bytes - Viewed (0)