func slices.SortFunc
15 uses
slices (current package)
iter.go#L77: SortFunc(s, cmp)
sort.go#L30: func SortFunc[S ~[]E, E any](x S, cmp func(a, b E) int) {
crypto/x509
constraints.go#L79: slices.SortFunc(nc.set, cmp)
encoding/asn1
marshal.go#L114: slices.SortFunc(l, bytes.Compare)
encoding/json
encode.go#L794: slices.SortFunc(sv, func(i, j reflectWithString) int {
encode.go#L1245: slices.SortFunc(fields, func(a, b field) int {
encode.go#L1293: slices.SortFunc(fields, func(i, j field) int {
github.com/andybalholm/brotli/matchfinder
pathfinder.go#L215: slices.SortFunc(foundMatches, func(a, b absoluteMatch) int { return a.Start - b.Start })
go.opentelemetry.io/otel/trace/internal/telemetry
value.go#L296: slices.SortFunc(sm, func(a, b Attr) int {
io/fs
readdir.go#L46: slices.SortFunc(list, func(a, b DirEntry) int {
net
dnsclient.go#L200: slices.SortFunc(addrs, func(a, b *SRV) int {
dnsclient.go#L231: slices.SortFunc(s, func(a, b *MX) int {
net/http
header.go#L179: slices.SortFunc(hs.kvs, func(a, b keyValues) int { return strings.Compare(a.key, b.key) })
os
dir.go#L122: slices.SortFunc(dirs, func(a, b DirEntry) int {
root.go#L393: slices.SortFunc(dirs, func(a, b DirEntry) int {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |