- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 337 for Sort (0.26 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java
} /** * Returns a sorted copy of the provided collection of things. Uses the provided comparator to sort. */ public static <T> List<T> sort(Iterable<? extends T> things, Comparator<? super T> comparator) { List<T> copy = toMutableList(things); Collections.sort(copy, comparator); return copy; } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 24.3K bytes - Viewed (0) -
src/cmd/trace/tasks.go
for _, task := range tasks { stats, ok := summary[task.Name] if !ok { stats.Type = task.Name } stats.add(task) summary[task.Name] = stats } // Sort tasks by type. userTasks := make([]taskStats, 0, len(summary)) for _, stats := range summary { userTasks = append(userTasks, stats) } slices.SortFunc(userTasks, func(a, b taskStats) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 11.8K bytes - Viewed (0) -
cmd/signature-v4.go
// types. // - Based on Authorization header. // - Based on Query parameters. // - Based on Form POST policy. package cmd import ( "bytes" "crypto/subtle" "encoding/hex" "net/http" "net/url" "sort" "strconv" "strings" "time" "github.com/minio/minio-go/v7/pkg/s3utils" "github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio/internal/auth" "github.com/minio/minio/internal/hash/sha256"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 12.4K bytes - Viewed (0) -
src/net/lookup_plan9.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:08:38 UTC 2024 - 9.9K bytes - Viewed (0) -
src/net/net_windows_test.go
have = append(have, addr.IP.String()) } } } slices.Sort(have) want := netshInterfaceIPv4ShowAddress(ifi.Name, outIPV4) wantIPv6 := netshInterfaceIPv6ShowAddress(ifi.Name, outIPV6) want = append(want, wantIPv6...) slices.Sort(want) if strings.Join(want, "/") != strings.Join(have, "/") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.3K bytes - Viewed (0) -
src/index/suffixarray/suffixarray_test.go
// license that can be found in the LICENSE file. package suffixarray import ( "bytes" "fmt" "io/fs" "math/rand" "os" "path/filepath" "regexp" "slices" "sort" "strings" "testing" ) type testCase struct { name string // name of test case source string // source to index patterns []string // patterns to lookup } var testCases = []testCase{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 14.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typestring.go
var termHashes []string for _, term := range s.terms { // terms are not canonically sorted, so we sort their hashes instead. var buf bytes.Buffer if term.tilde { buf.WriteByte('~') } newTypeHasher(&buf, w.ctxt).typ(term.typ) termHashes = append(termHashes, buf.String()) } sort.Strings(termHashes) if !first { w.byte(';') } w.string(strings.Join(termHashes, "|")) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
log.Fatalf("data too large") } w.Uint32(uint32(dataOff)) // Relocs h.Offsets[goobj.BlkReloc] = w.Offset() for _, list := range lists { for _, s := range list { sort.Sort(relocByOff(s.R)) // some platforms (e.g. PE) requires relocations in address order for i := range s.R { w.Reloc(&s.R[i]) } } } // Aux symbol info h.Offsets[goobj.BlkAux] = w.Offset()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0) -
guava/src/com/google/common/collect/Ordering.java
} // Ordering<Object> singletons /** * Returns an ordering which treats all values as equal, indicating "no ordering." Passing this * ordering to any <i>stable</i> sort algorithm results in no change to the order of elements. * Note especially that {@link #sortedCopy} and {@link #immutableSortedCopy} are stable, and in
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 39.4K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
} pods := slices.Reference(podsr.Items) if len(pods) > 0 { // We need to pass in a sorter, and the one used by `kubectl logs` is good enough. sortBy := func(pods []*corev1.Pod) sort.Interface { return podutils.ByLogging(pods) } sort.Sort(sortBy(pods)) return config.NamespacedName(pods[0]), nil } return types.NamespacedName{}, fmt.Errorf("no pods found") } type commonFlags struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 20:18:34 UTC 2024 - 22K bytes - Viewed (0)