- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ZeroValue (0.09 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/sets/set.go
} return res } // PopAny returns a single element from the set. func (s Set[T]) PopAny() (T, bool) { for key := range s { s.Delete(key) return key, true } var zeroValue T return zeroValue, false } // Len returns the size of the set. func (s Set[T]) Len() int { return len(s) } func less[T cmp.Ordered](lhs, rhs T) bool { return lhs < rhs
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 19:51:18 UTC 2024 - 5.8K bytes - Viewed (0)