Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for sortie (5.6 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ModelSetIntegrationTest.groovy

                  }
    
                  tasks {
                    create("printPeople") {
                      doLast {
                        def people = $.people
                        def names = people*.name.sort().join(", ")
                        println "names: $names"
                      }
                    }
                  }
                }
            '''
    
            then:
            succeeds "printPeople"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/DefaultTypeMetadataStore.java

        private static String toListOfAnnotations(ImmutableSet<Class<? extends Annotation>> classes) {
            return classes.stream()
                .map(Class::getSimpleName)
                .map(s -> "@" + s)
                .sorted()
                .collect(forDisplay());
        }
    
        private static class DefaultTypeMetadata implements TypeMetadata {
            private final Class<?> type;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. 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)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelMapModelProjection.java

                sb.append("<").append(onlyType).append(">");
            } else {
                sb.append("<T>; where T is one of [");
                Joiner.on(", ").appendTo(sb, CollectionUtils.sort(Iterables.transform(creatableTypes, new Function<Class<?>, String>() {
                    @Override
                    public String apply(Class<?> input) {
                        return input.getName();
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top