Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,131 for Constraint (0.16 sec)

  1. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishJavaPlatformIntegTest.groovy

            javaPlatform.assertPublished()
            javaPlatform.parsedModuleMetadata.variant("apiElements") {
                constraint("org.test:foo:1.0")
                noMoreDependencies()
            }
            javaPlatform.parsedModuleMetadata.variant("runtimeElements") {
                constraint("org.test:foo:1.0")
                constraint("org.test:bar:1.0")
                noMoreDependencies()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  2. src/internal/trace/event/requirements.go

    package event
    
    // SchedReqs is a set of constraints on what the scheduling
    // context must look like.
    type SchedReqs struct {
    	Thread    Constraint
    	Proc      Constraint
    	Goroutine Constraint
    }
    
    // Constraint represents a various presence requirements.
    type Constraint uint8
    
    const (
    	MustNotHave Constraint = iota
    	MayHave
    	MustHave
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 685 bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsIntegrationTest.groovy

                    project(":b", "test:b:") {
                        configuration = "conf"
                        noArtifacts()
                        constraint("org:foo:1.1", "org:foo:1.1").byConstraint('transitive dependency constraint')
                    }
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/DefaultProjectDependencyConstraintTest.groovy

        def "can copy project dependency constraint"() {
            setup:
            DefaultProjectDependencyConstraint constraint = createProjectDependencyConstraint()
            constraint.force = true
            constraint.reason = "reason"
    
            when:
            def constraintCopy = constraint.copy()
    
            then:
            constraintCopy.group == constraint.group
            constraintCopy.name == constraint.name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/artifacts/dsl/DependencyCollectorIntegrationTest.groovy

                ${createDependenciesAndConfiguration()}
    
                dependencies {
                    implementation(constraint("com:foo:1.0"))
                }
    
                def constraint = configurations.conf.dependencyConstraints.find { it.name == "foo" }
                constraint.version {
                    require("2.0")
                }
            """
    
            when:
            fails("help")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 00:10:09 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/DependencyConstraintHandler.java

        /**
         * Adds a dependency constraint to the given configuration, and configures the dependency constraint using the given closure.
         *
         * @param configurationName The name of the configuration.
         * @param dependencyNotation The dependency constraint notation
         * @param configureAction The closure to use to configure the dependency constraint.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 23 15:47:10 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/GradleDependencyMetadata.java

        private final List<ExcludeMetadata> excludes;
        private final boolean constraint;
        private final boolean endorsing;
        private final String reason;
        private final boolean force;
        private final List<IvyArtifactName> artifacts;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.h

        ValuesConstraintSet& constraints, bool resolve = false,
        bool emit_remarks = false);
    
    // Emits constraints remarks for all operations that use constrained values.
    void EmitValueConstraintsRemarks(const ValuesConstraintSet& constraints);
    
    // Emits constraints remarks for function inputs that are in the constraints
    // set (entry block arguments have constraints).
    void EmitInputsConstraintsRemarks(func::FuncOp func,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/list_load_err.txt

    -- scan/good.go --
    package scan
    
    import _ "m/want"
    
    -- multi/a.go --
    package a
    
    -- multi/b.go --
    package b
    
    import _ "m/want"
    
    -- constraint/constraint.go --
    // +build !!nope
    
    package constraint
    
    -- constraint/good.go --
    package constraint
    
    import _ "m/want"
    
    -- cgotest/cgo_test.go --
    package cgo_test
    
    // cgo is not allowed in tests.
    // See golang.org/issue/18647
    
    import "C"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 21:46:33 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/artifacts/DependencyConstraint.java

         *
         * @since 4.6
         */
        void because(@Nullable String reason);
    
        /**
         * Returns the attributes for this constraint. Mutation of the attributes of a constraint must be done through
         * the {@link #attributes(Action)} method.
         *
         * @return the attributes container for this dependency
         *
         * @since 4.8
         */
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 22 14:14:42 UTC 2019
    - 2.7K bytes
    - Viewed (0)
Back to top