Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 348 for pVariant (0.14 sec)

  1. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    		return cr
    	}
    	return r
    }
    
    // Variant represents a registered variant of a language as defined by BCP 47.
    type Variant struct {
    	ID  uint8
    	str string
    }
    
    // ParseVariant parses and returns a Variant. An error is returned if s is not
    // a valid variant.
    func ParseVariant(s string) (v Variant, err error) {
    	defer func() {
    		if recover() != nil {
    			v = Variant{}
    			err = ErrSyntax
    		}
    	}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/internal/language/parse.go

    	if needSort {
    		sort.Sort(variantsSort{varID, variant})
    		k, l := 0, -1
    		for i, v := range varID {
    			w := int(v)
    			if l == w {
    				// Remove duplicates.
    				continue
    			}
    			varID[k] = varID[i]
    			variant[k] = variant[i]
    			k++
    			l = w
    		}
    		if str := bytes.Join(variant[:k], separator); len(str) == 0 {
    			end = start - 1
    		} else {
    			scan.resizeRange(start, end, len(str))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/cross_project_publications.adoc

    As a consequence, if we want our instrumented classes to be used in place of this variant when executing tests, we need to attach similar attributes to our variant.
    In fact, the attribute we care about is `org.gradle.libraryelements` which explains _what the variant contains_, so we can setup the variant this way:
    
    .Declaring the variant attributes
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 18K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/variant_model.adoc

    Finally, Gradle selects the appropriate variant by looking at the variant attributes:
    
    - the consumer wants a variant with attributes `org.gradle.usage=java-api`
    - the producer has a matching variant (`apiElements`)
    - the producer has a non-matching variant (`runtimeElements`)
    
    Gradle provides the artifacts and dependencies from the `apiElements` variant to the consumer.
    
    == A more complicated example
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tensor_list_ops_decomposition.mlir

      %zeros-like = "tf.ZerosLike"(%addn) : (tensor<!tf_type.variant<tensor<f32>>>) -> tensor<!tf_type.variant<tensor<f32>>>
      // CHECK-NEXT: %[[ADDN2:.*]] = "tf.AddN"(%[[ADDN]], %[[ZEROS_LIKE]]) : (tensor<10xf32>, tensor<10xf32>) -> tensor<10xf32>
      %addn2 = "tf.AddN"(%addn, %zeros-like) : (tensor<!tf_type.variant<tensor<f32>>>, tensor<!tf_type.variant<tensor<f32>>>) -> tensor<!tf_type.variant<tensor<f32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/functional-control-flow-to-cfg.mlir

    // -----
    
    func.func @testIfThen(%arg0: tensor<!tf_type.variant>) -> tensor<!tf_type.variant> {
      func.return %arg0 : tensor<!tf_type.variant>
    }
    func.func @testIfElse(%arg0: tensor<!tf_type.variant>) -> tensor<!tf_type.variant> {
      func.return %arg0 : tensor<!tf_type.variant>
    }
    
    // CHECK-LABEL: func @testIfCasts(%arg0: tensor<i1>, %arg1: tensor<!tf_type.variant<tensor<f32>>>) -> tensor<!tf_type.variant<tensor<f32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list.mlir

      %0 = "tf.TensorListLength"(%arg1) : (tensor<!tf_type.variant>) -> tensor<i32>
      %1 = "tf.Identity"(%arg1) : (tensor<!tf_type.variant>) -> tensor<!tf_type.variant>
      func.return %0, %1 : tensor<i32>, tensor<!tf_type.variant>
    
    // verify `body` function's signature.
    // CHECK: func @tensorlistWhileBody(%[[ARG0:.*]]: tensor<i32>, %[[ARG:.*]]: tensor<2x3xf32>) -> (tensor<i32>, tensor<2x3xf32>)
    // CHECK-NOT: tensor<!tf_type.variant>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 39.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/MultipleVariantSelectionIntegrationTest.groovy

                    }
                }
            }
        }
    
        def "can select both main variant and test fixtures of a single component"() {
            given:
            repository {
                'org:foo:1.0' {
                    variant('api') {}
                    variant('runtime') {}
                    variant('test-fixtures') {
                        artifact('test-fixtures')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 22:29:19 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  9. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyGradleModuleMetadataPublishIntegrationTest.groovy

            variant.dependencies[1].module == 'bar'
            variant.dependencies[1].version == null
            variant.dependencies[1].prefers == '1.0'
            variant.dependencies[1].strictly == null
            variant.dependencies[1].rejectsVersion == []
    
            variant.dependencies[2].group == 'org'
            variant.dependencies[2].module == 'baz'
            variant.dependencies[2].version == '2.0'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 30.4K bytes
    - Viewed (0)
  10. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenGradleModuleMetadataPublishIntegrationTest.groovy

            variant.dependencies[1].module == 'bar'
            variant.dependencies[1].version == null
            variant.dependencies[1].prefers == '2.0'
            variant.dependencies[1].strictly == null
            variant.dependencies[1].rejectsVersion == []
    
            variant.dependencies[2].group == 'org'
            variant.dependencies[2].module == 'baz'
            variant.dependencies[2].version == '3.0'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 29.4K bytes
    - Viewed (0)
Back to top