Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,131 for Constraint (0.16 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/artifacts/component/ModuleComponentSelector.java

         * The version of the module to select the component from.
         *
         * @return Module version
         */
        String getVersion();
    
        /**
         * The version constraint of the module to select the component from.
         *
         * @return Module version constraint
         *
         * @since 4.4
         */
        VersionConstraint getVersionConstraint();
    
        /**
         * The module identifier of the component. Returns the same information
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 22 14:14:42 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  2. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/graph/LegendRenderer.java

            this.output = output;
        }
    
        public void printLegend() {
            if (hasConstraints) {
                output.println();
                output.withStyle(Info).text("(c) - A dependency constraint, not a dependency. The dependency affected by the constraint occurs elsewhere in the tree.");
            }
            if (hasCyclicDependencies) {
                output.println();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 03 14:10:29 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/platforms/EnforcedPlatformIntegrationTest.groovy

            file('platform/build.gradle') << """
                plugins {
                    id 'java-platform'
                }
    
                dependencies {
                    constraints {
                        // Deliberately unsatisfiable constraint with version range
                        api 'org.apache.commons:commons-lang3:[99,)'
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/AbstractRichVersionConstraintsIntegrationTest.groovy

                    }
                }
            }
            run ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    constraint("org:foo:{prefer 1.0.0}", "org:foo:1.1.0")
                    constraint("org:foo:{prefer 1.1.0}", "org:foo:1.1.0")
                    edge("org:foo:[1.0.0,2.0.0)", "org:foo:1.1.0") {
                        notRequested()
                        byConstraint()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 15:37:32 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  5. test/typeparam/issue51219.dir/a.go

    package a
    
    // Type I is the first basic test for the issue, which relates to a type that is recursive
    // via a type constraint.  (In this test, I -> IConstraint -> MyStruct -> I.)
    type JsonRaw []byte
    
    type MyStruct struct {
    	x *I[JsonRaw]
    }
    
    type IConstraint interface {
    	JsonRaw | MyStruct
    }
    
    type I[T IConstraint] struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 28 14:59:04 UTC 2022
    - 487 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    def OneElementAttr
      : ElementsAttrBase<And<[ElementsAttr.predicate, OneElementAttrPred]>,
                         "Scalar ElementsAttr">;
    
    def HasRankedFirstOperand
      : Constraint<CPred<"(*$0.begin()).getType().isa<RankedTensorType>()">>;
    
    def IsShapedTensor
      : Constraint<CPred<"$0.getType().isa<RankedTensorType>()">>;
    
    // This pattern converts TensorFlow axis format to HLO axis format which
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.td

    include "tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td"
    
    // Only handles the case where precision config is default.
    def IsPrecisionEmpty :
      Constraint<CPred<"IsPrecisionEmpty($0)">>;
    
    // Creates Einsum Op from XlaDotV2 Op by generating equation.
    def CreateEinsumOpFromXlaDotV2Op : NativeCodeCall<
      "CreateEinsumOpFromXlaDotV2Op($_builder, $_loc, $0...)">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/cycles5.go

    type sourceBridge interface {
    	listVersions() ([]Version, error)
    }
    
    type Constraint interface {
    	copyTo(*ConstraintMsg)
    }
    
    type ConstraintMsg struct{}
    
    func (m *ConstraintMsg) asUnpairedVersion() UnpairedVersion {
    	return nil
    }
    
    type Version interface {
    	Constraint
    }
    
    type UnpairedVersion interface {
    	Version
    }
    
    var _ Constraint = UnpairedVersion(nil)
    
    
    // derived test case from issue #21804
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/gradle/VariantMetadataSpec.groovy

        }
    
        void constraint(String group, String module, String version, String reason = null, Map<String, ?> attributes = [:]) {
            dependencyConstraints << new DependencyConstraintSpec(group, module, version, null, null, null, reason, attributes)
        }
    
        void constraint(String notation) {
            def gav = notation.split(':')
            constraint(gav[0], gav[1], gav[2])
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. src/go/build/constraint/expr.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package constraint implements parsing and evaluation of build constraint lines.
    // See https://golang.org/cmd/go/#hdr-Build_constraints for documentation about build constraints themselves.
    //
    // This package parses both the original “// +build” syntax and the “//go:build” syntax that was added in Go 1.17.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 14.2K bytes
    - Viewed (0)
Back to top