Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 596 for Constraint (0.2 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/result/AbstractDependencyResult.java

        private final ResolvedComponentResult from;
        private boolean constraint;
    
        public AbstractDependencyResult(ComponentSelector requested, ResolvedComponentResult from, boolean constraint) {
            assert requested != null;
            assert from != null;
    
            this.from = from;
            this.requested = requested;
            this.constraint = constraint;
        }
    
        @Override
        public ComponentSelector getRequested() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/artifacts/DependenciesMetadata.java

        /**
         * Add a dependency or a dependency constraint using the map notation: <code>group: <i>group</i>, name: <i>name</i>, version: <i>version</i></code>.
         *
         * @param dependencyNotation the dependency
         */
        void add(Map<String, String> dependencyNotation);
    
        /**
         * Add a dependency or a dependency constraint using the string notation: <code><i>group</i>:<i>name</i>:<i>version</i></code>.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 22 14:14:42 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/testdata/issue43527.go

    package p
    
    type (
            // 0 and 1-element []-lists are syntactically valid
            _[A, B /* ERROR missing type constraint */ ] int
            _[A, /* ERROR missing type parameter name */ interface{}] int
            _[A, B, C /* ERROR missing type constraint */ ] int
            _[A B, C /* ERROR missing type constraint */ ] int
            _[A B, /* ERROR missing type parameter name */ interface{}] int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 17:49:03 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. src/go/doc/testdata/generics.go

    // MethodB has a blank receiver type parameter.
    func (t Type[_]) MethodB() {}
    
    // MethodC has a lower-case receiver type parameter.
    func (t Type[c]) MethodC() {}
    
    // Constraint is a constraint interface with two type parameters.
    type Constraint[P, Q interface{ string | ~int | Type[int] }] interface {
    	~int | ~byte | Type[string]
    	M() P
    }
    
    // int16 shadows the predeclared type int16.
    type int16 int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 10 18:06:32 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultDependencyConstraint.java

        public DependencyConstraint copy() {
            DefaultDependencyConstraint constraint = new DefaultDependencyConstraint(moduleIdentifier, versionConstraint);
            constraint.reason = reason;
            constraint.attributes = attributes;
            constraint.attributesFactory = attributesFactory;
            constraint.force = force;
            return constraint;
        }
    
        @Override
        public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 00:10:09 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsAndResolutionStrategiesIntegrationTest.groovy

                    }
                }
            }
        }
    
        void "module replacement rules are applied to dependency constraints"() {
            given:
            buildFile << """
                dependencies {
                    conf 'org:bar:1.0'
                    constraints {
                        conf 'org:baz:1.1' //constraint ignored due to replacement rule
                    }
                    modules {
                        module("org:baz") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/expr0.go

    // ~ is accepted as unary operator only permitted in interface type elements
    var (
    	_ = ~ /* ERROR "cannot use ~ outside of interface or type constraint" */ 0
    	_ = ~ /* ERROR "cannot use ~ outside of interface or type constraint" */ "foo"
    	_ = ~ /* ERROR "cannot use ~ outside of interface or type constraint" */ i0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginJavaPrerequisiteChecker.java

                throw new IllegalStateException("Could not parse current Java version", e);
            }
            if (constraint.getRange() == null) {
                return constraint.getVersion().compareTo(current) <= 0;
            }
            return constraint.containsVersion(current);
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 18 11:03:17 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonConnector.java

        /**
         * Attempts to connect to a daemon that matches the given constraint.
         *
         * @return A connection to a matching daemon, or null if none running.
         */
        @Nullable
        DaemonClientConnection maybeConnect(ExplainingSpec<DaemonContext> constraint);
    
        /**
         * Mark the daemon as unavailable if the client cannot communicate with the daemon.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. errors.go

    	// ErrDuplicatedKey occurs when there is a unique key constraint violation
    	ErrDuplicatedKey = errors.New("duplicated key not allowed")
    	// ErrForeignKeyViolated occurs when there is a foreign key constraint violation
    	ErrForeignKeyViolated = errors.New("violates foreign key constraint")
    	// ErrCheckConstraintViolated occurs when there is a check constraint violation
    	ErrCheckConstraintViolated = errors.New("violates check constraint")
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Apr 26 02:53:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top