Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 231 for Constraint (0.31 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go

    			if strings.HasPrefix(elem, "!!") {
    				return fmt.Errorf("invalid double negative in build constraint: %s", arg)
    			}
    			elem = strings.TrimPrefix(elem, "!")
    			for _, c := range elem {
    				if !unicode.IsLetter(c) && !unicode.IsDigit(c) && c != '_' && c != '.' {
    					return fmt.Errorf("invalid non-alphanumeric build constraint: %s", arg)
    				}
    			}
    		}
    	}
    	return nil
    }
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/api_predicates.go

    //
    // The behavior of AssertableTo is unspecified in three cases:
    //   - if T is Typ[Invalid]
    //   - if V is a generalized interface; i.e., an interface that may only be used
    //     as a type constraint in Go code
    //   - if T is an uninstantiated generic type
    func AssertableTo(V *Interface, T Type) bool {
    	// Checker.newAssertableTo suppresses errors for invalid types, so we need special
    	// handling here.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/go/types/api_predicates.go

    //
    // The behavior of AssertableTo is unspecified in three cases:
    //   - if T is Typ[Invalid]
    //   - if V is a generalized interface; i.e., an interface that may only be used
    //     as a type constraint in Go code
    //   - if T is an uninstantiated generic type
    func AssertableTo(V *Interface, T Type) bool {
    	// Checker.newAssertableTo suppresses errors for invalid types, so we need special
    	// handling here.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/LocalOriginDependencyMetadata.java

        LocalOriginDependencyMetadata withTargetAndArtifacts(ComponentSelector target, List<IvyArtifactName> artifacts);
    
        @Override
        LocalOriginDependencyMetadata forced();
    
        /**
         * Is this a dependency constraint created for a dependency lock?
         */
        boolean isFromLock();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 19:31:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/remove_sharding_custom_call.td

    limitations under the License.
    ==============================================================================*/
    include "stablehlo/dialect/StablehloOps.td"
    
    class IsStringAttrOf<string value> : Constraint<
      CPred<"::llvm::isa_and_nonnull<StringAttr>($_self) && $_self.cast<StringAttr>().getValue() == \"" # value # "\"">,
      "Is a string attribute whose value is \"" # value # "\""
    >;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 07:04:47 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/shlo_simplify.td

    include "mlir/IR/CommonTypeConstraints.td"
    
    def CloneF32ElementsAttrWithOnes
      : NativeCodeCall<"DenseElementsAttr::get($0.getType().cast<ShapedType>(), (float)1.0)">;
    
    def NotConstant : Constraint<
        CPred<"$0.isa<BlockArgument>() || !llvm::isa<stablehlo::ConstantOp>($0.getDefiningOp())">,
        "Is not a constant.">;
    
    def : Pat<(StableHLO_DivOp $l,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 03:05:20 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/metadata/ProjectMetadataController.kt

                val selector = readNonNull<ComponentSelector>()
                val constraint = readBoolean()
                LocalComponentDependencyMetadata(
                    selector,
                    null,
                    emptyList(),
                    emptyList(),
                    false,
                    false,
                    true,
                    constraint,
                    false,
                    null
                )
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ProjectLeaseRegistry.java

        /**
         * Runs the given action and disallows the current thread from attempting to acquire or release any project locks.
         * Applying this constraint means that the thread will not block waiting for a project lock and cause a deadlock.
         * This constraint also means that it does not need to release its project locks when it needs to block while waiting for some operation to complete.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/build/BuildWorkGraphController.java

         * Creates a new, empty work graph for this build.
         *
         * Note: Only one thread can be using worker graphs from a build, and this method blocks if some other thread is using a graph for this build.
         * Eventually, this constraint should be removed, so that it is possible to populate and run multiple work graphs concurrently.
         */
        BuildWorkGraph newWorkGraph();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ProjectDependenciesIntegrationTest.groovy

            then:
            noExceptionThrown()
    
            when:
            runAndFail("missingPath")
    
            then:
            failureHasCause("Required keys [path] are missing from map")
        }
    
        def "can add constraint on root project"() {
            given:
            mavenRepo.module("org", "foo").publish()
            buildFile << """
                configurations {
                    dependencyScope("deps")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:37:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top