Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 377 for Constraint (0.43 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentSelectorSerializerTest.groovy

            ':myPath'   | 'myLib'
            ':myPath'   | null
            ':myPath'   | 'myLib'
        }
    
        def "serializes version constraint"() {
            given:
            ModuleComponentSelector selection = DefaultModuleComponentSelector.newSelector(DefaultModuleIdentifier.newId('group-one', 'name-one'), constraint('req', 'pref', 'strict', ['rej']))
    
            when:
            ModuleComponentSelector result = serialize(selection, serializer)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. .idea/inspectionProfiles/idea_default.xml

            <constraint name="dir" within="" contains="" />
          </replaceConfiguration>
          <searchConfiguration name="Use RecursionManager?" text="class $Class$ { &#10;  ThreadLocal&lt;$FieldType$&gt; $FieldName$ = $Init$;&#10;}" recursive="false" caseInsensitive="false" type="JAVA">
            <constraint name="Class" script="&quot;&quot;" within="" contains="" />
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Nov 09 20:59:03 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DependenciesExtensionModule.java

            call(self, dependencyOrDependencyConstraint, null);
        }
    
        /**
         * Add a dependency or dependency constraint.
         *
         * @param dependencyOrDependencyConstraint dependency or dependency constraint to add
         * @param configuration an action to configure the dependency or dependency constraint
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/test/resources/org/gradle/kotlin/dsl/accessors/tasks/PrintAccessors-expected-output.txt

            add("api", constraintNotation)
    
    
        /**
         * Adds a dependency constraint to the 'api' configuration.
         *
         * @param constraintNotation the dependency constraint notation
         * @param block the block to use to configure the dependency constraint
         *
         * @return the added dependency constraint
         *
         * @see [DependencyConstraintHandler.add]
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  5. src/cmd/go/internal/imports/build.go

    // all tags are both true and false at the same time.
    func eval(x constraint.Expr, tags map[string]bool, prefer bool) bool {
    	switch x := x.(type) {
    	case *constraint.TagExpr:
    		return matchTag(x.Tag, tags, prefer)
    	case *constraint.NotExpr:
    		return !eval(x.X, tags, !prefer)
    	case *constraint.AndExpr:
    		return eval(x.X, tags, prefer) && eval(x.Y, tags, prefer)
    	case *constraint.OrExpr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/podtopologyspread/filtering.go

    	podLabelSet := labels.Set(updatedPod.Labels)
    	for _, constraint := range s.Constraints {
    		if !constraint.Selector.Matches(podLabelSet) {
    			continue
    		}
    
    		if pl.enableNodeInclusionPolicyInPodTopologySpread &&
    			!constraint.matchNodeInclusionPolicies(preemptorPod, node, requiredSchedulingTerm) {
    			continue
    		}
    
    		k, v := constraint.TopologyKey, node.Labels[constraint.TopologyKey]
    		pair := topologyPair{key: k, value: v}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenBomResolveIntegrationTest.groovy

                root(':', ':testproject:') {
                    module("group:bom:1.0:platform-runtime") {
                        constraint("group:moduleA:2.0", "group:moduleA:2.0")
                        noArtifacts()
                    }
                    module("group:bom2:1.0:platform-runtime") {
                        constraint("group:moduleA:2.0", "group:moduleA:2.0")
                        noArtifacts()
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/ForcingPlatformAlignmentTest.groovy

                        byAncestor()
                        configuration(expectedVariant)
                        constraint('org:core:2.7.9')
                        constraint('org:databind:2.7.9')
                        constraint('org:annotations:2.7.9')
                        constraint('org:kotlin:2.7.9')
                        noArtifacts()
                        module("org:platform:2.7.9")
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/DependencyHandlerExtensionsTest.kt

        @Test
        fun `can declare dependency constraints`() {
    
            val constraint = mock<DependencyConstraint>()
            val constraintHandler = mock<DependencyConstraintHandler> {
                on { add(any(), any()) } doReturn constraint
                on { add(any(), any(), any()) } doReturn constraint
            }
            val dependenciesHandler = newDependencyHandlerMock {
                on { constraints } doReturn constraintHandler
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 06:41:25 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/design/gradle-module-metadata-1.0-specification.md

    - `group`: The group of the dependency constraint.
    - `module`: The module of the dependency constraint.
    - `version`: optional. The version constraint of the dependency constraint.
    - `reason`: optional. An explanation of why the constraint is used. It can typically be used to explain why a specific version is rejected or from where a platform comes from.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 23:32:14 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top