Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 359 for Precedence (0.24 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/attributes/AttributesSchema.java

         */
        boolean hasAttribute(Attribute<?> key);
    
        /**
         * Adds attributes to the precedence order. Attributes listed first have higher precedence.
         * <p>
         * The attributes will be added to any existing precedence order. If an attribute has already been added, adding it again
         * will fail.
         *
         * @param attributes the attributes in order
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 07 20:56:10 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  2. src/go/token/token.go

    	if s == "" {
    		s = "token(" + strconv.Itoa(int(tok)) + ")"
    	}
    	return s
    }
    
    // A set of constants for precedence-based expression parsing.
    // Non-operators have lowest precedence, followed by operators
    // starting with precedence 1 up to unary operators. The highest
    // precedence serves as "catch-all" precedence for selector,
    // indexing, and other operator and delimiter tokens.
    const (
    	LowestPrec  = 0 // non-operators
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/DefaultAttributesSchema.java

                if (!precedence.add(attribute)) {
                    throw new IllegalArgumentException(String.format("Attribute '%s' precedence has already been set.", attribute.getName()));
                }
            }
        }
    
        @Override
        public void setAttributeDisambiguationPrecedence(List<Attribute<?>> attributes) {
            precedence.clear();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 16:59:54 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/PropertyDetails.java

         * The actual method instance used is significant.
         * The method instance is for the “nearest” declaration, where classes take precedence over interfaces.
         * Interface precedence is breadth-first, declaration.
         *
         * The order of the methods follows the same precedence.
         * That is, the “nearer” declarations are earlier in the list.
         */
        Collection<Method> getGetters();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. releasenotes/notes/45415-overlapping-wildcards.yaml

        content: |
          This fix changes the behavior of overlapping wildcard hosts in VirtualService. Previously, the oldest VirtualService would take precedence
          regardless of whether or not it was the most specific host match. Now, the most specific host match will take precedence. To persist the old behavior,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Dec 09 14:22:50 UTC 2023
    - 786 bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/SettingsSchemaAccessorsIntegrationTest.kt

                        configure<my.MySettingsExtension> {
                            action()
                        }
                    }
                """
            )
    
            val result = build("ok")
    
            // then:
            result.assertOutputContains("It's 42!")
            result.assertOutputContains("Plugin extension takes precedence!")
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultGradlePropertiesControllerTest.groovy

            controller.loadGradlePropertiesFrom(new File('b'), true)
    
            then:
            thrown(IllegalStateException)
        }
    
        def "environment variables have precedence over project properties"() {
            given:
            def settingsDir = new File("settingsDir")
            def gradleUserHomePropertiesFile = propertiesFileFromDir(gradleUserHome)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 06 11:52:10 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/initialization/PropertiesLoaderIntegrationTest.groovy

        @Rule SetSystemProperties systemProperties = new SetSystemProperties()
    
        @ToBeFixedForConfigurationCache(skip = INVESTIGATE)
        def "build property set on command line takes precedence over properties file"() {
            when:
            file('gradle.properties') << """
    org.gradle.configureondemand=true
    """
            buildFile << """
    task assertCodEnabled {
        doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/EmptySchemaTest.groovy

            expect:
            EmptySchema.INSTANCE.attributes.empty
            !EmptySchema.INSTANCE.hasAttribute(Attribute.of(String))
        }
    
        def "has no precedence"() {
            expect:
            EmptySchema.INSTANCE.attributeDisambiguationPrecedence.empty
        }
    
        def "cannot set precedence"() {
            when:
            EmptySchema.INSTANCE.attributeDisambiguationPrecedence(Attribute.of("attribute", String))
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java

        File getGlobalSettingsFile();
    
        /**
         * Sets the global settings file. A non-existent settings file is equivalent to empty settings. If both user
         * settings and global settings are given, the user settings take precedence.
         *
         * @param globalSettingsFile The global settings file, may be {@code null} to disable global settings.
         * @return This request, never {@code null}.
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top