Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 383 for Constraint (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/CachingDependencyResultFactory.java

                                                                     ComponentSelectionReason reason, ModuleVersionResolveException failure) {
            List<Object> key = asList(requested, from, constraint);
            if (!unresolvedDependencies.containsKey(key)) {
                unresolvedDependencies.put(key, new DefaultUnresolvedDependencyResult(requested, constraint, reason, from, failure));
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java

        @Nonnull
        VersionRange parseVersionRange(@Nonnull String range);
    
        /**
         * Parses the specified version constraint specification, for example "1.0" or "[1.0,2.0)".
         *
         * @param constraint the constraint specification to parse, must not be {@code null}
         * @return the parsed version constraint, never {@code null}
         * @throws VersionParserException if the range specification violates the syntax rules of this scheme
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/DependencyConstraintFactory.java

         *
         * <p>
         * Note that no classifier or extension is accepted here.
         * </p>
         *
         * @param dependencyConstraintNotation the dependency constraint notation
         * @return the new dependency constraint
         * @since 8.7
         */
        DependencyConstraint create(CharSequence dependencyConstraintNotation);
    
        /**
         * Create a {@link DependencyConstraint} from a series of strings.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/DefaultImmutableVersionConstraintTest.groovy

        }
    
        def "doesn't create a copy of an already immutable version constraint"() {
            given:
            def v = new DefaultImmutableVersionConstraint('1.0')
    
            when:
            def c = DefaultImmutableVersionConstraint.of(v)
    
            then:
            v.is(c)
        }
    
        def "can convert mutable version constraint to immutable version constraint"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  10. src/go/parser/testdata/tparams.go2

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    type _[a, b] /* ERROR "missing type constraint" */ struct{}
    type _[a t, b t, c]  /* ERROR "missing type constraint" */ struct{}
    type _ struct {
    	t [n]byte
    	t[a]
    	t[a,]
    	t[a, b]
    	t[a, b,]
    }
    type _ struct {
    	t [n, /* ERROR "unexpected comma; expecting ]" */ ]byte
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top