- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for somefunc (0.17 sec)
-
istioctl/pkg/waypoint/waypoint.go
if err != nil { return err } if len(gws.Items) == 0 { fmt.Fprintln(writer, "No waypoints found.") return nil } w := new(tabwriter.Writer).Init(writer, 0, 8, 5, ' ', 0) slices.SortFunc(gws.Items, func(i, j gateway.Gateway) int { if r := cmp.Compare(i.Namespace, j.Namespace); r != 0 { return r } return cmp.Compare(i.Name, j.Name) }) filteredGws := make([]gateway.Gateway, 0)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed May 01 16:16:40 GMT 2024 - 15.2K bytes - Viewed (0) -
istioctl/pkg/tag/tag.go
tag: tagName, } rawTags[key] = tagDesc } for k := range rawTags { if k.tag != "" { delete(rawTags, uniqTag{revision: k.revision}) } } tags := slices.SortFunc(maps.Values(rawTags), func(a, b tagDescription) int { if r := cmp.Compare(a.Revision, b.Revision); r != 0 { return r } return cmp.Compare(a.Tag, b.Tag) }) switch outputFormat {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 16.3K bytes - Viewed (0) -
api/go1.21.txt
pkg slices, func Reverse[$0 interface{ ~[]$1 }, $1 interface{}]($0) #58565 pkg slices, func Sort[$0 interface{ ~[]$1 }, $1 cmp.Ordered]($0) #60091 pkg slices, func SortFunc[$0 interface{ ~[]$1 }, $1 interface{}]($0, func($1, $1) int) #60091 pkg slices, func SortStableFunc[$0 interface{ ~[]$1 }, $1 interface{}]($0, func($1, $1) int) #60091
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Aug 07 09:39:17 GMT 2023 - 25.6K bytes - Viewed (0)