- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 3,672 for Sort (0.11 sec)
-
src/cmd/vendor/golang.org/x/mod/semver/semver.go
cmp := Compare(vs[i], vs[j]) if cmp != 0 { return cmp < 0 } return vs[i] < vs[j] } // Sort sorts a list of semantic version strings using [ByVersion]. func Sort(list []string) { sort.Sort(ByVersion(list)) } func parse(v string) (p parsed, ok bool) { if v == "" || v[0] != 'v' { return } p.major, v, ok = parseInt(v[1:]) if !ok { return } if v == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 12 20:38:21 UTC 2023 - 8.9K bytes - Viewed (0) -
pkg/test/loadbalancersim/loadbalancer/edf.go
weight float64 } // priorityQueue is a queue that always pop the highest priority item type priorityQueue []*Entry // Len implements heap.Interface/sort.Interface func (pq priorityQueue) Len() int { return len(pq) } // Less implements heap.Interface/sort.Interface func (pq priorityQueue) Less(i, j int) bool { // Flip logic to make this a min queue. if pq[i].deadline == pq[j].deadline { return pq[i].index < pq[j].index
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 20 19:13:32 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/tasks/internal/VisualStudioSolutionFile.groovy
} builder << """ Global GlobalSection(SolutionConfigurationPlatforms) = preSolution""" Set<String> configurationNames = Sets.newLinkedHashSet(projectConfigurations.values().flatten().collect({ it.name }).sort()) configurationNames.each { String configurationName -> builder << """\n\t\t${configurationName} = ${configurationName}""" } builder << """ EndGlobalSection
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/topological_sort.h
// (Unlike nullptr, this also works inside the ternary operator) extern ExtraDependenciesFunction no_extra_dependencies; // Sort a block topologically, so that for all ops, all operands are // available at the time of execution. This is similar to MLIR's topological // sort (lib/Transforms/TopologicalSort.cpp) but also takes a priority // function to determine the next op to emit in the case of ambiguity. This
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Nov 08 17:01:11 UTC 2022 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryCommand.java
import org.opensearch.index.query.BoolQueryBuilder; import org.opensearch.index.query.QueryBuilder; import org.opensearch.index.query.QueryBuilders; import org.opensearch.search.sort.SortBuilder; import org.opensearch.search.sort.SortBuilders; import org.opensearch.search.sort.SortOrder; public abstract class QueryCommand { public abstract QueryBuilder execute(final QueryContext context, final Query query, final float boost);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.6K bytes - Viewed (0) -
docs/metrics/prometheus/grafana/minio-dashboard.json
"calcs": [ "lastNotNull" ], "fields": "", "values": false }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "8.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Apr 15 10:03:01 UTC 2024 - 93K bytes - Viewed (0) -
pkg/credentialprovider/keyring.go
return parsed, nil } // SplitURL splits the host name into parts, as well as the port func SplitURL(url *url.URL) (parts []string, port string) { host, port, err := net.SplitHostPort(url.Host) if err != nil { // could not parse port host, port = url.Host, "" } return strings.Split(host, "."), port } // URLsMatchStr is wrapper for URLsMatch, operating on strings instead of URLs.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 9.2K bytes - Viewed (0) -
pkg/kubelet/pod_container_deletor.go
candidates = append(candidates, containerStatus) } } if len(candidates) <= containersToKeep { return containerStatusbyCreatedList{} } sort.Sort(candidates) return candidates[containersToKeep:] } // deleteContainersInPod issues container deletion requests for containers selected by getContainersToDeleteInPod.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Nov 05 13:02:13 UTC 2022 - 4K bytes - Viewed (0) -
pkg/scheduler/internal/cache/debugger/comparer.go
} return compareStrings(actual, cached) } func compareStrings(actual, cached []string) (missed, redundant []string) { missed, redundant = []string{}, []string{} sort.Strings(actual) sort.Strings(cached) compare := func(i, j int) int { if i == len(actual) { return 1 } else if j == len(cached) { return -1 } return strings.Compare(actual[i], cached[j]) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 29 05:26:32 UTC 2023 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/caching_authorizer.go
di.Groups = make([]string, len(groups)) copy(di.Groups, groups) sort.Strings(di.Groups) } if extra := u.GetExtra(); len(extra) > 0 { di.Extra = make(map[string][]string, len(extra)) for k, vs := range extra { vdupe := make([]string, len(vs)) copy(vdupe, vs) sort.Strings(vdupe) di.Extra[k] = vdupe } } serializableAttributes.User = di }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 12 18:58:24 UTC 2024 - 3.6K bytes - Viewed (0)