- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 337 for Sort (0.12 sec)
-
hack/lib/golang.sh
kube::golang::dups() { # We use printf to insert newlines, which are required by sort. printf "%s\n" "$@" | sort | uniq -d } # Returns a sorted newline-separated list with duplicated items removed. kube::golang::dedup() { # We use printf to insert newlines, which are required by sort. printf "%s\n" "$@" | sort -u } # Depends on values of user-facing KUBE_BUILD_PLATFORMS, KUBE_FASTBUILD,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 16:43:08 UTC 2024 - 32.8K bytes - Viewed (0) -
pkg/scheduler/scheduler_test.go
fwk, err := newFramework(ctx, registry, profile) if err != nil { t.Fatal(err) } exts := fwk.EnqueueExtensions() // need to sort to make the test result stable. sort.Slice(exts, func(i, j int) bool { return exts[i].Name() < exts[j].Name() }) got := buildQueueingHintMap(exts) for e, fns := range got { wantfns, ok := tt.want[e]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 42K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc
if (device.replica != replica) return MismatchedTPUSystemAttributeErr("replica", replica, device.replica); } // Sort by task to be deterministic. std::sort(system_devices.begin(), system_devices.end(), [](const ParsedDevice& a, const ParsedDevice& b) { return a.task < b.task; }); return system_devices; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:10:40 UTC 2024 - 32.8K bytes - Viewed (0) -
src/cmd/go/internal/fsys/fsys.go
package fsys import ( "encoding/json" "errors" "fmt" "internal/godebug" "io" "io/fs" "log" "os" pathpkg "path" "path/filepath" "runtime" "runtime/debug" "sort" "strings" "sync" "time" ) // Trace emits a trace event for the operation and file path to the trace log, // but only when $GODEBUG contains gofsystrace=1.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:35:34 UTC 2024 - 22.7K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js
// profile comparisons easier. groups.sort(function(a, b) { return (b.sumpos + b.sumneg) - (a.sumpos + a.sumneg); }); return groups; } function display(xscale, posTotal, negTotal, list) { // Sort boxes so that text selection follows a predictable order. list.sort(function(a, b) { if (a.y != b.y) return a.y - b.y; return a.x - b.x;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 18.5K bytes - Viewed (0) -
src/testing/fstest/testfs.go
found[file] = true } delete(found, ".") if len(expected) == 0 && len(found) > 0 { var list []string for k := range found { if k != "." { list = append(list, k) } } slices.Sort(list) if len(list) > 15 { list = append(list[:10], "...") } t.errorf("expected empty file system but found files:\n%s", strings.Join(list, "\n")) } for _, name := range expected { if !found[name] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.3K bytes - Viewed (0) -
pilot/pkg/networking/core/tracing.go
tags = append(tags, buildCustomTagsFromProvider(providerTags)...) } // looping over customTags, a map, results in the returned value // being non-deterministic when multiple tags were defined; sort by the tag name // to rectify this sort.Slice(tags, func(i, j int) bool { return tags[i].Tag < tags[j].Tag }) hcmTracing.CustomTags = tags }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 17:05:28 UTC 2024 - 24.2K bytes - Viewed (0) -
pkg/scheduler/framework/interface.go
} // LessFunc is the function to sort pod info type LessFunc func(podInfo1, podInfo2 *QueuedPodInfo) bool // QueueSortPlugin is an interface that must be implemented by "QueueSort" plugins. // These plugins are used to sort pods in the scheduling queue. Only one queue sort // plugin may be enabled at a time. type QueueSortPlugin interface { Plugin // Less are used to sort pods in the scheduling queue.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 35.4K bytes - Viewed (0) -
pilot/pkg/networking/util/util.go
var portTrafficPolicy *networking.TrafficPolicy_PortTrafficPolicy // Check if port level overrides exist, if yes override with them. for _, p := range policy.PortLevelSettings { if p.Port != nil && uint32(port.Port) == p.Port.Number { // per the docs, port level policies do not inherit and instead to defaults if not provided portTrafficPolicy = p break } } if portTrafficPolicy == nil { return policy, false }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 28.5K bytes - Viewed (0) -
maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java
} /** * UT for <a href="https://issues.apache.org/jira/browse/MRESOLVER-314">MRESOLVER-314</a>. * * Generates random UUID string based versions and tries to sort them. While this test is not as reliable * as {@link #testCompareUuidVersionStringStream()}, it covers broader range and in case it fails it records * the failed array, so we can investigate more. */ @Test
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue May 21 09:54:32 UTC 2024 - 17.1K bytes - Viewed (0)