- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for sortie (3.62 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/ConstructorComparator.java
* limitations under the License. */ package org.gradle.internal.instantiation.generator; import java.util.Comparator; /** * Sorts GeneratedConstructors based on the number of parameters. * * When two constructors have the same number of parameters, we settle on a stable sort by looking at the names of the * types of the parameters. * */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-configuration/core-kotlin-extensions/src/main/kotlin/org/gradle/internal/extensions/core/FileSystemExtensions.kt
// However, the File.list spec leaves the order undefined, so no reasonable implementation should depend on it. // Making the hash order-independent by sorting the entries maximizes CC hits, even if the OS-returned order changes. Arrays.sort(entries) entries.forEach(hasher::putString) hasher.hash() } ?: NON_DIRECTORY_CHILDREN_NAMES_HASH
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 16:55:36 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/AbstractFileTreeTest.groovy
def tree1 = new TestFileTree([fileVisitDetails1]) def tree2 = new TestFileTree([fileVisitDetails2]) when: FileTree sum = tree1.plus(tree2) then: sum.files.sort() == [file1, file2] } def "can add file trees together using + operator"() { File file1 = new File("f1") File file2 = new File("f2")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 4.5K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt
.memberFunctions .asSequence() .mapNotNull { it.javaMethod } .filterNot { objectMethods.contains(it) } .map { it.toGroovyScriptString() } .sorted() .joinToString(separator = "\n") } private fun Method.toGroovyScriptString(): String { val cleanedTypeParameters = if (typeParameters.isNotEmpty()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 22 10:58:31 UTC 2022 - 6.9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy
} private List<String> filterChangesToReport(CtClass c, Set<CtMethod> methods) { return methods.findAll { isFirstPublicClassInHierarchy(it, c) }*.longName.sort() } private boolean isFirstPublicClassInHierarchy(CtMethod method, CtClass c) { List<CtClass> classesContainingMethod = [] CtClass current = c while (current != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 3.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt
val sortAcceptedApiChanges = tasks.register<gradlebuild.binarycompatibility.SortAcceptedApiChangesTask>("sortAcceptedApiChanges") { group = "verification" description = "Sort the accepted api changes file alphabetically" apiChangesDirectory = layout.projectDirectory.dir("${ TextUtil.normaliseFileSeparators(firstAcceptedApiChangesFile.parentFile.absolutePath) }") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 6K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
} private fun getMergedContributorPullRequests(pageNumber: Int): List<GitHubPullRequest> { val uri = "https://api.github.com/search/issues?q=is:pr+is:merged+repo:gradle/gradle+label:%22from:contributor%22&sort=updated&order=desc&per_page=$pageSize&page=$pageNumber" return invokeGitHubApi(uri, GitHubPullRequestSearchResult::class.java).items }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 16 05:03:11 UTC 2022 - 5.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinLibSources.kt
.resolvedComponents .flatMap { it.getArtifacts(SourcesArtifact::class.java) } .filterIsInstance<ResolvedArtifactResult>() .map { it.file } .sorted() ) // TODO remove sorting once https://github.com/gradle/gradle/issues/5507 is fixed private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 23 00:40:48 UTC 2023 - 4.1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt
val jsonString = this.readText() return Gson().fromJson(jsonString, AcceptedApiChanges::class.java) } /** * Sorts the given list of [AcceptedApiChange]s by type and member. * <p> * This sort ought to remain consistent with the sort used by the [EnrichedReportRenderer]. */ @Suppress("KDocUnresolvedReference") protected
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/support/WalkReproduciblyTest.kt
import org.hamcrest.MatcherAssert.assertThat import org.junit.Test class WalkReproduciblyTest : FolderBasedTest() { @Test fun `walks directory tree top-down yielding sorted files`() { withFolders { "root" { withFile("root-f2") "b" { withFile("b-f1") } "c" {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.9K bytes - Viewed (0)