Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,131 for Constraint (0.13 sec)

  1. platforms/documentation/docs/src/snippets/kotlinDsl/androidSingleBuild/kotlin/src/main/res/layout/activity_main.xml

    <?xml version="1.0" encoding="utf-8"?>
    <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:context=".MainActivity">
    
        <TextView
            android:layout_width="wrap_content"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 768 bytes
    - Viewed (0)
  2. integration-tests/gradle/settings.gradle.kts

    include("standardJvmRuntimeClasspathAndroid")
    
    include("androidRuntimeClasspathAndroid")
    
    // Enforce 'android' variant in Java projects via constraint
    
    include("standardJvmAndroidConstraintCompileClasspathJava")
    
    include("androidAndroidConstraintCompileClasspathJava")
    
    // Enforce 'jre' variant in Android projects via constraint
    
    include("standardJvmJreConstraintCompileClasspathAndroid")
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 28 18:15:57 UTC 2023
    - 749 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/optimize.td

    // Check whether the tensor is ranked and whether its last dim is static.
    def IsRankedShapeLastDimStatic : Constraint<And<[
      CPred<"$0.getType().isa<RankedTensorType>()">,
      CPred<"!$0.getType().cast<ShapedType>().isDynamicDim( "
      "  $0.getType().cast<RankedTensorType>().getRank() - 1)">]>>;
    
    def IsNotComplexType : Constraint<And<[
      CPred<"$0.getType().isa<RankedTensorType>()">,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 22 07:31:23 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. src/cmd/go/internal/imports/build.go

    // all tags are both true and false at the same time.
    func eval(x constraint.Expr, tags map[string]bool, prefer bool) bool {
    	switch x := x.(type) {
    	case *constraint.TagExpr:
    		return matchTag(x.Tag, tags, prefer)
    	case *constraint.NotExpr:
    		return !eval(x.X, tags, !prefer)
    	case *constraint.AndExpr:
    		return eval(x.X, tags, prefer) && eval(x.Y, tags, prefer)
    	case *constraint.OrExpr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  5. src/internal/types/testdata/fixedbugs/issue39723.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    // A constraint must be an interface; it cannot
    // be a type parameter, for instance.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 352 bytes
    - Viewed (0)
  6. maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java

        private VersionParserException parseInvalid(String constraint) {
            try {
                versionParser.parseVersionConstraint(constraint);
                fail("expected exception for constraint " + constraint);
                return null;
            } catch (VersionParserException e) {
                return e;
            }
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/podtopologyspread/filtering.go

    	podLabelSet := labels.Set(updatedPod.Labels)
    	for _, constraint := range s.Constraints {
    		if !constraint.Selector.Matches(podLabelSet) {
    			continue
    		}
    
    		if pl.enableNodeInclusionPolicyInPodTopologySpread &&
    			!constraint.matchNodeInclusionPolicies(preemptorPod, node, requiredSchedulingTerm) {
    			continue
    		}
    
    		k, v := constraint.TopologyKey, node.Labels[constraint.TopologyKey]
    		pair := topologyPair{key: k, value: v}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. test/typeparam/issue48137.go

    // run
    
    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    type Constraint[T any] interface {
    	~func() T
    }
    
    func Foo[T Constraint[T]]() T {
    	var t T
    
    	t = func() T {
    		return t
    	}
    	return t
    }
    
    func main() {
    	type Bar func() Bar
    	Foo[Bar]()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 365 bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenBomResolveIntegrationTest.groovy

                root(':', ':testproject:') {
                    module("group:bom:1.0:platform-runtime") {
                        constraint("group:moduleA:2.0", "group:moduleA:2.0")
                        noArtifacts()
                    }
                    module("group:bom2:1.0:platform-runtime") {
                        constraint("group:moduleA:2.0", "group:moduleA:2.0")
                        noArtifacts()
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  10. src/go/parser/testdata/typeset.go2

            // These are invalid and the type-checker will complain.
            _[~t] t
            _[~t|t] t
            _[t|~t] t
            _[~t|~t] t
    )
    
    type _[_ t, t] /* ERROR "missing type constraint" */ t
    type _[_ ~t, t] /* ERROR "missing type constraint" */ t
    type _[_ t, ~ /* ERROR "missing type parameter name" */ t] t
    type _[_ ~t, ~ /* ERROR "missing type parameter name" */ t] t
    
    type _[_ t|t, t /* ERROR "missing type parameter name" */ |t] t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top