- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 558 for Sort (0.04 sec)
-
pkg/kubelet/images/image_gc_manager.go
i.Lock() defer i.Unlock() // The image list needs to be sorted when it gets read and used in // setNodeStatusImages. We sort the list on write instead of on read, // because the image cache is more often read than written sort.Sort(sliceutils.ByImageSize(images)) i.images = images } // get gets image list from image cache.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 19.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 30.6K bytes - Viewed (0) -
pilot/pkg/security/authz/builder/extauthz.go
return nil, errs } return generateGRPCConfig(cluster, hostname, config, status), nil } func parsePort(port uint32) (int, error) { if 1 <= port && port <= 65535 { return int(port), nil } return 0, fmt.Errorf("port must be in the range [1, 65535], found: %d", port) } func parseStatusOnError(status string) (*envoytypev3.HttpStatus, error) { if status == "" { return nil, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 12.7K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/report/report.go
symNodes := nodesPerSymbol(g.Nodes, symbols) // Sort for printing. var syms []*objSymbol for s := range symNodes { syms = append(syms, s) } byName := func(a, b *objSymbol) bool { if na, nb := a.sym.Name[0], b.sym.Name[0]; na != nb { return na < nb } return a.sym.Start < b.sym.Start } if maxFuncs < 0 { sort.Sort(orderSyms{syms, byName}) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 37.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedBytes.java
* * @since 23.1 */ public static void sort(byte[] array) { checkNotNull(array); sort(array, 0, array.length); } /** * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its * elements as unsigned bytes. * * @since 23.1 */ public static void sort(byte[] array, int fromIndex, int toIndex) { checkNotNull(array);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 18.3K bytes - Viewed (0) -
pkg/kubelet/config/config_test.go
return channel, ch, config } func expectPodUpdate(t *testing.T, ch <-chan kubetypes.PodUpdate, expected ...kubetypes.PodUpdate) { for i := range expected { update := <-ch sort.Sort(sortedPods(update.Pods)) sort.Sort(sortedPods(expected[i].Pods)) // Make copies of the expected/actual update to compare all fields // except for "Pods", which are compared separately below.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 17.1K bytes - Viewed (0) -
pkg/kubelet/certificate/kubelet.go
for dnsName := range seenDNSNames { dnsNames = append(dnsNames, dnsName) } for ip := range seenIPs { ips = append(ips, netutils.ParseIPSloppy(ip)) } // return in stable order sort.Strings(dnsNames) sort.Slice(ips, func(i, j int) bool { return ips[i].String() < ips[j].String() }) return dnsNames, ips } // NewKubeletClientCertificateManager sets up a certificate manager without a
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 03:07:16 UTC 2024 - 10.3K bytes - Viewed (0) -
pkg/scheduler/apis/config/validation/validation_test.go
Field: "profiles[1].percentageOfNodesToScore", }, }, }, "different-queue-sort": { config: differentQueueSort, wantErrs: field.ErrorList{ &field.Error{ Type: field.ErrorTypeInvalid, Field: "profiles[1].plugins.queueSort", }, }, }, "one-empty-queue-sort": { config: oneEmptyQueueSort, wantErrs: field.ErrorList{ &field.Error{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 06:27:01 UTC 2024 - 12.2K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conditions.go
// setConditions sets the existingConditions with the new conditions func setConditions(generation int64, existingConditions []metav1.Condition, conditions map[string]*condition) []metav1.Condition { // Sort keys for deterministic ordering for _, k := range slices.Sort(maps.Keys(conditions)) { cond := conditions[k] setter := kstatus.UpdateConditionIfChanged if cond.setOnce != "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 13:05:41 UTC 2024 - 14.4K bytes - Viewed (0) -
pkg/scheduler/framework/preemption/preemption_test.go
// Sort the values (inner victims) and the candidate itself (by its NominatedNodeName). for i := range got { victims := got[i].Victims().Pods sort.Slice(victims, func(i, j int) bool { return victims[i].Name < victims[j].Name }) } sort.Slice(got, func(i, j int) bool { return got[i].Name() < got[j].Name() })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 18.7K bytes - Viewed (0)