Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 107 for alphabetically (0.29 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/server/routes/index.go

    	"k8s.io/apiserver/pkg/server/mux"
    )
    
    // ListedPathProvider is an interface for providing paths that should be reported at /.
    type ListedPathProvider interface {
    	// ListedPaths is an alphabetically sorted list of paths to be reported at /.
    	ListedPaths() []string
    }
    
    // ListedPathProviders is a convenient way to combine multiple ListedPathProviders
    type ListedPathProviders []ListedPathProvider
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 20:21:45 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/InstanceOptionDescriptorSpec.groovy

            then:
            values == ["dynValue1", "dynValue2"] as Set
            1 * optionValueMethod.invoke(_,_) >> ["dynValue1", "dynValue2"]
        }
    
        def "should sort alphabetically by name by default"() {
            given:
            InstanceOptionDescriptor optionC = new InstanceOptionDescriptor(new SomeClass(), optionElement("optionC"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 15:17:44 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top