Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 599 for Constraint (0.21 sec)

  1. 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)
  2. tensorflow/compiler/mlir/lite/quantization/device_target.cc

    namespace ph = std::placeholders;
    
    LogicalResult DeviceTarget::RegisterKernel(
        llvm::StringRef kernel, const KernelSpecs::Signature& signature,
        const ScaleConstraintType constraint) {
      if (failed(specs_[kernel].Add(signature, {constraint, {}}))) return failure();
      switch (constraint) {
        case ScaleConstraintType::OutputInputSameScale:
          specs_[kernel].WithImpl(std::bind(&DeviceTarget::DecomposeSameScale,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DefaultDependencyCollector.java

            }
    
            ((DependencyConstraintInternal) dependencyConstraint).addMutationValidator(constraint -> {
                if (((PropertyInternal<?>) getDependencyConstraints()).isFinalized()) {
                    throw new InvalidUserCodeException("Cannot mutate dependency constraint " + constraint + " after it has been finalized");
                }
            });
    
            return dependencyConstraint;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 00:10:09 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. 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)
  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. 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)
  10. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DependencyConstraintFactoryInternal.java

    package org.gradle.api.internal.artifacts.dsl.dependencies;
    
    import org.gradle.api.artifacts.DependencyConstraint;
    import org.gradle.api.artifacts.dsl.DependencyConstraintFactory;
    
    /**
     * Internal API for dependency constraint creation.
     */
    public interface DependencyConstraintFactoryInternal extends DependencyConstraintFactory {
        DependencyConstraint createDependencyConstraint(Object dependencyNotation);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 22:19:06 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top