Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for alphabetically (0.52 sec)

  1. testing/architecture-test/build.gradle.kts

        description = "Ensures the accepted api changes file is kept alphabetically ordered to make merging changes to it easier"
        apiChangesDirectory = acceptedApiChangesDirectory
    }
    
    val sortAcceptedApiChanges = tasks.register<gradlebuild.binarycompatibility.SortAcceptedApiChangesTask>("sortAcceptedApiChanges") {
        group = "verification"
        description = "Sort the accepted api changes file alphabetically"
        apiChangesDirectory = acceptedApiChangesDirectory
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

                            group = "verification"
                            description = "Ensures the accepted api changes file is kept alphabetically ordered to make merging changes to it easier"
                            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)
  3. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/extensions/property/InstrumentedPropertiesResourceGeneratorTest.groovy

    class InstrumentedPropertiesResourceGeneratorTest extends InstrumentationCodeGenTest {
    
        private static final ObjectMapper MAPPER = new ObjectMapper()
    
        def "should generate a resource with upgraded properties sorted alphabetically"() {
            given:
            def givenSource = source """
                package org.gradle.test;
    
                import org.gradle.api.provider.Property;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/ParallelProjectExecutionIntegrationTest.groovy

        }
    
        def "tasks are executed when they are ready and not necessarily alphabetically"() {
            buildFile << """
                tasks.getByPath(':b:pingA').dependsOn(':a:pingA')
                tasks.getByPath(':b:pingC').dependsOn([':b:pingA', ':b:pingB'])
            """
    
            expect:
            //project a and b are both executed even though alphabetically more important task is blocked
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/Operation.java

         */
        abstract long getElapsedTime();
    
        abstract String getDescription();
    
        /**
         * @return comparator that compares operations, slowest first, then alphabetically
         */
        public static Comparator<? super Operation> slowestFirst() {
            return new Comparator<Operation>() {
                @Override
                public int compare(Operation o1, Operation o2) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 12:58:53 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. src/math/rand/v2/auto_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package rand_test
    
    import (
    	. "math/rand/v2"
    	"testing"
    )
    
    // This test is first, in its own file with an alphabetically early name,
    // to try to make sure that it runs early. It has the best chance of
    // detecting deterministic seeding if it's the first test that runs.
    
    func TestAuto(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:09:26 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. pkg/config/host/names_test.go

    func TestNamesSortOrder(t *testing.T) {
    	tests := []struct {
    		in, want host.Names
    	}{
    		// Prove we sort alphabetically:
    		{
    			host.Names{"b", "a"},
    			host.Names{"a", "b"},
    		},
    		{
    			host.Names{"bb", "cc", "aa"},
    			host.Names{"aa", "bb", "cc"},
    		},
    		// Prove we sort longest first, alphabetically:
    		{
    			host.Names{"b", "a", "aa"},
    			host.Names{"aa", "a", "b"},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 10:35:13 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

    import org.gradle.api.tasks.CacheableTask
    import org.gradle.api.tasks.TaskAction
    
    
    /**
     * This [Task][org.gradle.api.Task] reorders the changes in an accepted API changes files
     * so that they are alphabetically sorted (by type, then member).
     */
    @CacheableTask
    abstract class SortAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() {
    
        @TaskAction
        fun execute() {
            loadChanges().mapValues {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/util/PropertiesUtilsTest.groovy

            expect:
            write([:], "Line comment") == normalize("""
                #Line comment
                """)
        }
    
        def "simple properties are written sorted alphabetically"() {
            expect:
            write([one: "1", two: "2", three: "three"], "Line comment") == normalize("""
                #Line comment
                one=1
                three=three
                two=2
                """)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/apihelpers/helpers.go

    func (s FlowSchemaSequence) Less(i, j int) bool {
    	// the flow-schema w/ lower matching-precedence is prior
    	if ip, jp := s[i].Spec.MatchingPrecedence, s[j].Spec.MatchingPrecedence; ip != jp {
    		return ip < jp
    	}
    	// sort alphabetically
    	return s[i].Name < s[j].Name
    }
    
    func (s FlowSchemaSequence) Swap(i, j int) {
    	s[i], s[j] = s[j], s[i]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top