Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,131 for Constraint (0.39 sec)

  1. src/internal/types/testdata/fixedbugs/issue43527.go

    // license that can be found in the LICENSE file.
    
    package p
    
    const L = 10
    
    type (
    	_        [L]struct{}
    	_        [A /* ERROR "undefined array length A or missing type constraint" */ ]struct{}
    	_        [B /* ERROR "invalid array length B" */ ]struct{}
    	_[A any] struct{}
    
    	B int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 392 bytes
    - Viewed (0)
  2. 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)
  3. src/go/types/typexpr.go

    				if tset.comparable {
    					check.softErrorf(e, MisplacedConstraintIface, "cannot use type %s outside a type constraint: interface is (or embeds) comparable", typ)
    				} else {
    					check.softErrorf(e, MisplacedConstraintIface, "cannot use type %s outside a type constraint: interface contains type constraints", typ)
    				}
    			}
    		}
    	}).describef(e, "check var type %s", typ)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/import_unix_tag.txt

    # Regression test for https://go.dev/issue/54712: the "unix" build constraint
    # was not applied consistently during package loading.
    
    go list -x -f '{{if .Module}}{{.ImportPath}}{{end}}' -deps .
    stdout 'example.com/version'
    
    -- go.mod --
    module example
    
    go 1.19
    
    require example.com/version v1.1.0
    -- go.sum --
    example.com/version v1.1.0 h1:VdPnGmIF1NJrntStkxGrF3L/OfhaL567VzCjncGUgtM=
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 19:01:26 UTC 2022
    - 751 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/typexpr.go

    				if tset.comparable {
    					check.softErrorf(pos, MisplacedConstraintIface, "cannot use type %s outside a type constraint: interface is (or embeds) comparable", typ)
    				} else {
    					check.softErrorf(pos, MisplacedConstraintIface, "cannot use type %s outside a type constraint: interface contains type constraints", typ)
    				}
    			}
    		}
    	}).describef(e, "check var type %s", typ)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryPublishedTargetJvmEnvironmentIntegrationTest.groovy

            then:
            expectStandardJVM()
        }
    
        def "can enforce standard JVM variant on Android by constraint"() {
            given:
            prepareResolve('releaseCompileClasspath', 'jre')
    
            buildFile << """
                dependencies {
                    constraints {
                        implementation('org:producer:1.0') {
                            attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. schema/interfaces.go

    package schema
    
    import (
    	"gorm.io/gorm/clause"
    )
    
    // ConstraintInterface database constraint interface
    type ConstraintInterface interface {
    	GetName() string
    	Build() (sql string, vars []interface{})
    }
    
    // GormDataTypeInterface gorm data type interface
    type GormDataTypeInterface interface {
    	GormDataType() string
    }
    
    // FieldNewValuePool field new scan value pool
    type FieldNewValuePool interface {
    	Get() interface{}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 980 bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyResolveIntegrationTest.groovy

                            byAncestor()
                            byConstraint()
                            configuration('extra')
                        }
                    }
                    constraint("org:foo:{strictly 1.0}", "org:foo:1.0")
                    constraint("org:bar:{strictly 1.0}", "org:bar:1.0")
                }
            }
        }
    
        // TODO: This is not desired behavior. We should deprecate and forbid this.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 13:59:13 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/plugins/jvm/PlatformDependencyModifiers.java

                if (dependency instanceof ExternalDependency) {
                    String version = dependency.getVersion();
                    ((ExternalDependency) dependency).version(constraint -> constraint.strictly(version));
                }
                dependency.attributes(attributeContainer -> attributeContainer.attribute(Category.CATEGORY_ATTRIBUTE, getObjectFactory().named(Category.class, Category.ENFORCED_PLATFORM)));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 22 04:12:21 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

                        (TFL_HardSwishOp $input)>;
    
    def IsNchwLayoutOp: Constraint<CPred<
      "$0.get(\"is_nchw_op\") && $0.get(\"is_nchw_op\").dyn_cast<BoolAttr>() "
          "== mlir::BoolAttr::get($_builder.getContext(), true)">>;
    
    def IsNhwcLayoutOp: Constraint<Neg<IsNchwLayoutOp.predicate>>;
    
    // TODO(b/343278954): Move the creation of transposes to a separate prepare pass
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top