Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 377 for Constraint (0.25 sec)

  1. 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)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

             * Defines a link between nodes created through a dependency constraint.
             */
            NodeBuilder constraint(String requested, String selectedModuleVersionId = requested, @DelegatesTo(NodeBuilder) Closure cl = {}) {
                def node = graph.moduleNode(selectedModuleVersionId)
                def edge = new EdgeBuilder(this, requested, node)
                edge.constraint = true
                deps << edge
                applyTo(node, cl)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  3. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishResolvedVersionsJavaIntegTest.groovy

            then:
            javaLibrary.mavenModule.removeGradleMetadataRedirection()
            javaLibrary.assertPublished()
            javaLibrary.parsedModuleMetadata.variant("apiElements") {
                constraint("org.test:bar:1.1") {
                    exists()
                }
                dependency("org.test:foo:1.0") {
                    exists()
                }
                noMoreDependencies()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 18:52:27 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

    include "tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.td"
    
    /// TODO(b/130756570): Support OpBase constraints in PatternRewrites.
    def SingleResultAndOperandHaveSameElementType : Constraint<
      CPred<"getElementTypeOrSelf($0) == getElementTypeOrSelf($1)">>;
    
    def SingleResultAndOperandHaveSameType : Constraint<
      CPred<"$0.getType() == $1.getType()">>;
    
    def IsRank2Tensor : Type<HasAnyRankOfPred<[2]>, "Rank 2 tensor">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/infer.go

    					var cause string
    					constraint := tpar.iface()
    					if m, _ := check.missingMethod(tx, constraint, true, func(x, y Type) bool { return u.unify(x, y, exact) }, &cause); m != nil {
    						// TODO(gri) better error message (see TODO above)
    						err.addf(pos, "%s (type %s) does not satisfy %s %s", tpar, tx, tpar.Constraint(), cause)
    						return nil
    					}
    				}
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  6. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/AbstractMavenPublishJavaIntegTest.groovy

                }
                constraint('commons-logging:commons-logging:1.1') { rejects() }
    
                noMoreDependencies()
            }
    
            javaLibrary.parsedModuleMetadata.variant("runtimeElements") {
                dependency('org.springframework:spring-core:1.2.9') {
                    rejects()
                    noMoreExcludes()
                }
                constraint('commons-logging:commons-logging:1.1') { rejects() }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 45.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/ProjectAccessorsClassPathTest.kt

                on { getByName(any()) } doReturn sourceSets
            }
            val constraint = mock<DependencyConstraint>()
            val constraints = mock<DependencyConstraintHandler> {
                on { add(any(), any()) } doReturn constraint
                on { add(any(), any(), any()) } doReturn constraint
            }
            val dependency = mock<ExternalModuleDependency>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  8. src/go/types/infer.go

    					var cause string
    					constraint := tpar.iface()
    					if m, _ := check.missingMethod(tx, constraint, true, func(x, y Type) bool { return u.unify(x, y, exact) }, &cause); m != nil {
    						// TODO(gri) better error message (see TODO above)
    						err.addf(posn, "%s (type %s) does not satisfy %s %s", tpar, tx, tpar.Constraint(), cause)
    						return nil
    					}
    				}
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/platforms/PlatformResolveIntegrationTest.groovy

                        ])
                    }
                }
            }
    
        }
    
        @Issue("gradle/gradle#8312")
        def "can resolve a platform with a constraint to determine the platform version via a transitive constraint"() {
            def platform = mavenHttpRepo.module("org", "platform", "1.0")
                .hasType("pom")
                .allowAll()
                .publish()
    
            createDirs("sub")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  10. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/publication/IvyComponentParser.java

            }
    
            if (!variant.getDependencyConstraints().isEmpty()) {
                for (DependencyConstraint constraint : variant.getDependencyConstraints()) {
                    warnings.addUnsupported(String.format("%s:%s:%s declared as a dependency constraint", constraint.getGroup(), constraint.getName(), constraint.getVersion()));
                }
            }
            if (!variant.getCapabilities().isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 18.4K bytes
    - Viewed (0)
Back to top