Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 103 for alphabetically (0.4 sec)

  1. 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)
  2. 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)
  3. api/api-rules/README.md

     * ***API rule violation: \<RULE\>,\<PACKAGE\>,\<TYPE\>,\<FIELD\>***
    
    e.g.
    
     * ***API rule violation: names_match,k8s.io/api/core/v1,Event,ReportingController***
    
    And the violation list is sorted alphabetically in each of the \<RULE\>, \<PACKAGE\>, \<TYPE\>, \<FIELD\> levels.
    
    ## How to resolve API Rule Check Failure
    
    Make rule returns an error when the newly generated violation report differs from this
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 04 15:50:30 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/link/internal/ld/heap.go

    		}
    		if (*h)[i] <= (*h)[c] {
    			break
    		}
    		(*h)[i], (*h)[c] = (*h)[c], (*h)[i]
    		i = c
    	}
    
    	return r
    }
    
    func (h *heap) empty() bool { return len(*h) == 0 }
    
    // Same as heap, but sorts alphabetically instead of by index.
    // (Note that performance is not so critical here, as it is
    // in the case above. Some simplification might be in order.)
    type lexHeap []loader.Sym
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 16:55:22 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. 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)
  7. subprojects/core-api/src/main/java/org/gradle/api/artifacts/VersionConstraint.java

     *     <li>If one part is numeric, it is considered <b>higher</b> than the non-numeric part: `1.a {@literal <} 1.1`</li>
     *     <li>If both are not numeric, the parts are compared alphabetically, case-sensitive: `1.A {@literal <} 1.B  {@literal <} 1.a {@literal <} 1.b`</li>
     *     <li>An version with an extra numeric part is considered <b>higher</b> than a version without: `1.1 {@literal <} 1.1.0`</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 11:49:12 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. pkg/config/analysis/analyzers/all.go

    	"istio.io/istio/pkg/config/analysis/analyzers/webhook"
    )
    
    // All returns all analyzers
    func All() []analysis.Analyzer {
    	analyzers := []analysis.Analyzer{
    		// Please keep this list sorted alphabetically by pkg.name for convenience
    		&annotations.K8sAnalyzer{},
    		&authz.AuthorizationPoliciesAnalyzer{},
    		&deployment.ServiceAssociationAnalyzer{},
    		&deployment.ApplicationUIDAnalyzer{},
    		&deprecation.FieldAnalyzer{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseTestConfigurationsWithProjectDependenciesIntegrationTest.groovy

            settingsFile << """
                rootProject.name='test'
            """
    
            file('a/build.gradle') << """
                // introduce "atestImplementation" because configurations are visited in alphabetically order and "testImplementation" would be skipped without special handling
                sourceSets {
                    atest
                }
    
                dependencies {
                    implementation(project(':b'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 24 15:55:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/WritePropertiesIntegrationTest.groovy

                String.format(RECOMMENDATION, "information", "${BASE_URL}/dsl/org.gradle.api.tasks.WriteProperties.html#org.gradle.api.tasks.WriteProperties:outputFile"))
        }
    
        def "simple properties are written sorted alphabetically with #outputProprertyName"() {
            given:
            buildFile << """
                task props(type: WriteProperties) {
                    properties = [one: "1", two: "2", three: "three"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 19 13:03:22 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top