- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 721 for sortby (0.16 sec)
-
platforms/documentation/docs/src/snippets/configurationCache/topLevel/kotlin/build.gradle.kts
dir.listFiles { file: File -> file.isFile }.map { it.name }.sorted() tasks.register("listFiles") { doLast { println(listFiles(dir)) } } // end::not-supported[] // tag::workaround[] object Files { // <1> fun listFiles(dir: File): List<String> = dir.listFiles { file: File -> file.isFile }.map { it.name }.sorted() } tasks.register("listFilesFixed") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 588 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/files/fileCollections/kotlin/build.gradle.kts
println("Contents of ${srcDir.name}") collection.map { it.relativeTo(projectDirectory.asFile) }.sorted().forEach { println(it) } srcDir = projectDirectory.file("src2").asFile println("Contents of ${srcDir.name}") collection.map { it.relativeTo(projectDirectory.asFile) }.sorted().forEach { println(it) } } } // end::closure[] tasks.register("conventions") { val objects = objects
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 15 13:55:00 UTC 2024 - 2.8K bytes - Viewed (0) -
src/go/doc/testdata/d1.go
) const ( // Single const declarations inside ()'s are considered ungrouped // and show up in sorted order. Cungrouped = 0 ) var ( // Single var declarations inside ()'s are considered ungrouped // and show up in sorted order. Vungrouped = 0 ) // T2 should be third. type T2 struct{} // Grouped types are sorted nevertheless. type ( // TG2 should be third. TG2 struct{} // TG1 should be second.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/LatestModuleConflictResolver.java
List<Version> sorted = new ArrayList<>(matches.keySet()); sorted.sort(Collections.reverseOrder(versionComparator)); T bestComponent = null; T unqalifiedComponent = null; for (Version version : sorted) { T component = matches.get(version); if (!version.isQualified()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 07 23:54:34 UTC 2024 - 4.9K bytes - Viewed (0) -
src/runtime/pprof/label_test.go
// license that can be found in the LICENSE file. package pprof import ( "context" "reflect" "sort" "testing" ) func labelsSorted(ctx context.Context) []label { ls := []label{} ForLabels(ctx, func(key, value string) bool { ls = append(ls, label{key, value}) return true }) sort.Sort(labelSorter(ls)) return ls } type labelSorter []label
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:34:11 UTC 2023 - 3.4K bytes - Viewed (0) -
src/internal/trace/mud.go
if len(d.sorted) == 0 && len(d.unsorted) == 0 { return math.NaN(), false } // Sort edges. edges := d.unsorted slices.SortFunc(edges, func(a, b edge) int { return cmp.Compare(a.x, b.x) }) // Merge with sorted edges. d.unsorted = nil if d.sorted == nil { d.sorted = edges } else { oldSorted := d.sorted newSorted := make([]edge, len(oldSorted)+len(edges))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.7K bytes - Viewed (0) -
pkg/test/csrctrl/authority/policies.go
unrecognized = append(unrecognized, usage) } } var sorted sortedExtKeyUsage for eku := range extKeyUsages { sorted = append(sorted, eku) } sort.Sort(sorted) if len(unrecognized) > 0 { return 0, nil, fmt.Errorf("unrecognized usage values: %q", unrecognized) } return keyUsage, []x509.ExtKeyUsage(sorted), nil } type sortedExtKeyUsage []x509.ExtKeyUsage
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 03 17:06:22 UTC 2022 - 4.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
import org.codelibs.core.io.FileUtil; import org.codelibs.fess.crawler.exception.CrawlerSystemException; import org.mortbay.jetty.Handler; import org.mortbay.jetty.Server; import org.mortbay.jetty.handler.DefaultHandler; import org.mortbay.jetty.handler.HandlerList; import org.mortbay.jetty.handler.ResourceHandler; import org.mortbay.log.Log; /** * @author shinsuke * */ public class CrawlerWebServer { private int port = 8080;
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.3K bytes - Viewed (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
import org.codelibs.core.io.FileUtil; import org.codelibs.fess.crawler.exception.CrawlerSystemException; import org.mortbay.jetty.Handler; import org.mortbay.jetty.Server; import org.mortbay.jetty.handler.DefaultHandler; import org.mortbay.jetty.handler.HandlerList; import org.mortbay.jetty.handler.ResourceHandler; import org.mortbay.log.Log; /** * @author shinsuke * */ public class CrawlerWebServer { private int port = 8080;
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
/** * Returns a builder that creates immutable sorted maps whose keys are ordered by their natural * ordering. The sorted maps use {@link Ordering#natural()} as the comparator. */ public static <K extends Comparable<?>, V> Builder<K, V> naturalOrder() { return new Builder<>(Ordering.natural()); } /** * Returns a builder that creates immutable sorted maps with an explicit comparator. If the
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 50.3K bytes - Viewed (0)