- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MergeList (0.08 sec)
-
pkg/proto/merge/merge.go
panic(fmt.Sprintf("cannot merge into invalid %v message", dst.Descriptor().FullName())) } src.Range(func(fd protoreflect.FieldDescriptor, v protoreflect.Value) bool { switch { case fd.IsList(): o.mergeList(dst.Mutable(fd).List(), v.List(), fd) case fd.IsMap(): o.mergeMap(dst.Mutable(fd).Map(), v.Map(), fd.MapValue()) case fd.Message() != nil: mergeFn, exists := o.customMergeFn[fd.Message().FullName()]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 21 17:31:22 UTC 2022 - 4.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller.go
specList := make([]cached.Value[*spec.Swagger], 0, len(c.specsByName)) for crd := range c.specsByName { specList = append(specList, c.specsByName[crd].mergedVersionSpec) } cache := cached.MergeList(func(results []cached.Result[*spec.Swagger]) (*spec.Swagger, string, error) { localCRDSpec := make([]*spec.Swagger, 0, len(results)) for k := range results { if results[k].Err == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 9.6K bytes - Viewed (0)