Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,203 for name3 (0.09 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/DefaultAttributeMatcherTest.groovy

            schema.attribute(consumer)
    
            def candidate1 = attributes().attribute(producer, objectFactory().named(NamedTestAttribute, "name1"))
            def candidate2 = attributes().attribute(producer, objectFactory().named(NamedTestAttribute, "name2"))
            def requested = attributes().attribute(consumer, "name1")
    
            expect:
            matcher.matches([candidate1, candidate2], requested, explanationBuilder) == [candidate1]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/named.go

    func (t *Named) methodIndex(name string, foldCase bool) int {
    	if name == "_" {
    		return -1
    	}
    	if foldCase {
    		for i, m := range t.methods {
    			if strings.EqualFold(m.name, name) {
    				return i
    			}
    		}
    	} else {
    		for i, m := range t.methods {
    			if m.name == name {
    				return i
    			}
    		}
    	}
    	return -1
    }
    
    // Underlying returns the [underlying type] of the named type t, resolving all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. src/go/types/named.go

    func (t *Named) methodIndex(name string, foldCase bool) int {
    	if name == "_" {
    		return -1
    	}
    	if foldCase {
    		for i, m := range t.methods {
    			if strings.EqualFold(m.name, name) {
    				return i
    			}
    		}
    	} else {
    		for i, m := range t.methods {
    			if m.name == name {
    				return i
    			}
    		}
    	}
    	return -1
    }
    
    // Underlying returns the [underlying type] of the named type t, resolving all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/scala/scala3/kotlin/src/main/scala/org/gradle/sample/Named.scala

    package org.gradle.sample
    
    import org.apache.commons.collections.list.GrowthList
    
    /**
     * Defines the traits of one who is named.
     */
    trait Named:
      def names: List[String]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 204 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/scala/mixedJavaAndScala/groovy/src/main/java/org/gradle/sample/Named.java

    package org.gradle.sample;
    
    public interface Named {
        String getName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 77 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/native-binaries/visual-studio/groovy/build.gradle

        GlobalSection(SolutionNotes) = postSolution
            NumNotes = 2
            Name1 = FirstNote
            Issue1 = N
            Text1 = This is a shared note.
            Name2 = SecondNote
            Issue2 = N
            Text2 = The projects in this solution are ${projects*.name}.
        EndGlobalSection
    """
                    def insertPos = content.text.lastIndexOf("EndGlobal")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. api/maven-api-di/src/main/java/org/apache/maven/api/di/Named.java

    import java.lang.annotation.Retention;
    
    import static java.lang.annotation.ElementType.*;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    @Qualifier
    @Retention(RUNTIME)
    @Documented
    public @interface Named {
        String value() default "";
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 05 09:45:47 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/PathUtil.java

        }
    
        /**
         * Compares two file names with the order defined here: {@link PathUtil}.
         *
         * File names do not contain file separators, so the methods on {@link String} can be used for the comparison.
         */
        public static int compareFileNames(String name1, String name2) {
            int caseInsensitiveComparison = name1.compareToIgnoreCase(name2);
            return caseInsensitiveComparison != 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  9. pkg/apis/core/validation/names.go

    // to the rules documented on the type.
    func ValidateClusterTrustBundleName(signerName string) func(name string, prefix bool) []string {
    	return func(name string, isPrefix bool) []string {
    		if signerName == "" {
    			if strings.Contains(name, ":") {
    				return []string{"ClusterTrustBundle without signer name must not have \":\" in its name"}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/AbstractModuleDependencySpec.groovy

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top