Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 596 for Constraint (0.14 sec)

  1. 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)
  2. src/go/build/constraint/expr_test.go

    	{"// +build x y \n ", nil, "not a build constraint"},
    	{"// +build x y \nmore", nil, "not a build constraint"},
    	{" //+build x y", nil, "not a build constraint"},
    
    	{"//go:build x && y", and(tag("x"), tag("y")), ""},
    	{"//go:build x && y\n", and(tag("x"), tag("y")), ""},
    	{"//go:build x && y\n ", nil, "not a build constraint"},
    	{"//go:build x && y\nmore", nil, "not a build constraint"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 18 22:36:55 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/DependencyLockingLenientModeIntegrationTest.groovy

                    }
                    edge("org:foo:{strictly 1.1}", "org:foo:1.1")
                    constraint("org:foo:1.0", "org:foo:1.1")
                }
            }
    
            where:
            unique << [true, false]
        }
    
        def 'does not fail when lock file conflicts with declared version constraint (initial unique: #unique)'() {
            given:
            mavenRepo.module('org', 'foo', '1.0').publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/DetachedResolvedGraphDependency.java

            this.reason = reason;
            this.selected = selected;
            this.failure = failure;
            this.constraint = constraint;
            this.fromVariant = fromVariant;
            this.targetVariant = targetVariant;
        }
    
        @Override
        public ComponentSelector getRequested() {
            return requested;
        }
    
        @Override
        public Long getSelected() {
            return selected;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/typeparams/normalize.go

    // is deterministic.
    func StructuralTerms(tparam *types.TypeParam) ([]*types.Term, error) {
    	constraint := tparam.Constraint()
    	if constraint == nil {
    		return nil, fmt.Errorf("%s has nil constraint", tparam)
    	}
    	iface, _ := constraint.Underlying().(*types.Interface)
    	if iface == nil {
    		return nil, fmt.Errorf("constraint is %T, not *types.Interface", constraint.Underlying())
    	}
    	return InterfaceTermSet(iface)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/cluster_ops_by_policy.mlir

    }
    
    // CHECK-LABEL: func @failed_to_propagate_constraints
    func.func @failed_to_propagate_constraints(%arg0 : tensor<?x?xf32>)
        -> (tensor<?x?xf32> { tf.constraint = "value"  }) {
      // expected-error@below {{failed to propagate results constraints: 0:value}}
      %0 = "test.OpC"(%arg0) : (tensor<?x?xf32>) -> tensor<?x?xf32>
      // expected-remark@below {{operand #0 constrained to: value}}
      func.return %0 : tensor<?x?xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 1.2K bytes
    - Viewed (0)
Back to top