Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for var2 (0.12 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGXmlResultAndHtmlReportIntegrationTest.groovy

    import static org.testng.Assert.*;
    
    public class ParameterizedTest {
    
        @Test(dataProvider = "1")
    	public void p1(String var1, String var2) {
            System.out.println("var1 is: " + var1);
            System.err.println("var2 is: " + var2);
           	assertEquals(var1, "1");
    	}
    
    	@DataProvider(name = "1")
    	public Object[][] provider1() {
    		return new Object[][] {
    		   {"1", "2"},
    		   {"3", "4"}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 25 21:27:42 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/hoist_loop_invariant.mlir

    // CHECK-NEXT:  "tf.AssignVariableOp"([[VAR]], [[RES_1]])
    // CHECK:       "tf.Yield"([[RES_3]], [[RES_4]])
    func.func @readvariableop_is_not_hoisted_if_not_readonly(%arg0: tensor<i32>, %arg1: tensor<i32>) -> (tensor<i32>, tensor<i32>) {
      %cst_0 = "tf.Const"() { value = dense<1> : tensor<i32> } : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 22 17:12:02 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolvedArtifactsApiIntegrationTest.groovy

            compile {
                attributes.attribute(buildType, 'debug')
                outgoing {
                    variants {
                        var1 {
                            artifact oneJar
                            attributes.attribute(flavor, 'one')
                        }
                        var2 {
                            artifact twoJar
                            attributes.attribute(flavor, 'two')
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 22:29:19 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/integtests/ApplicationIntegrationSpec.groovy

            '''
            file('src/main/java/org/gradle/test/Main.java') << '''
            package org.gradle.test;
    
            class Main {
                public static void main(String[] args) {
                    if (!"value1".equals(System.getProperty("var1"))) {
                        throw new RuntimeException("Expected system property not specified (var1)");
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 22:15:44 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_launch_util_test.cc

    TEST_F(PjRtExecutionUtilTest, PreparePjRtExecutableArgumentsVariableInputs) {
      std::vector<VariableInfo> variables;
      Var* var1 = CreateVariable<int32>("v1", TensorShape({1, 2}), {1, 2});
      variables.emplace_back(3, "v1", var1);
      Var* var2 = CreateVariable<int32>("v2", TensorShape({1, 2}), {3, 4});
      variables.emplace_back(4, "v2", var2);
    
      std::vector<const Tensor*> inputs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ArtifactSelectionIntegrationTest.groovy

            compile {
                outgoing {
                    variants {
                        var1 {
                            artifact file('a1.jar')
                            attributes.attribute(buildType, 'profile')
                            attributes.attribute(flavor, 'bland')
                        }
                        var2 {
                            artifact file('a2.jar')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.td

        loop body inine):
    
        ```mlir
          %var0 = ...
          %var1 = ...
          tf.while (..., %var0, %var1) {
            tf_device.replicate ([%var0, %var1] as %rvar) {
              %compile:2 = "tf._TPUCompileMlir"()
              tf.TPUExecuteAndUpdateVariablesOp(%rvar, compile#1)
            }
          }
        ```
    
        This pass will transform it into
    
        ```mlir
          %var0 = ...
          %var1 = ...
          %state_var0 = ...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 18:58:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. pkg/env/var.go

    type DurationVar struct {
    	Var
    }
    
    var (
    	allVars = make(map[string]Var)
    	mutex   sync.Mutex
    )
    
    // VarDescriptions returns a description of this process' environment variables, sorted by name.
    func VarDescriptions() []Var {
    	mutex.Lock()
    	sorted := make([]Var, 0, len(allVars))
    	for _, v := range allVars {
    		sorted = append(sorted, v)
    	}
    	mutex.Unlock()
    
    	sort.Slice(sorted, func(i, j int) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/tests/hoist_invariant_ops.mlir

    func.func @init() attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer_init"]} {
      %var0 = "tf.VarHandleOp"() {container = "", shared_name = "var0"} : () -> tensor<!tf_type.resource<tensor<i1>>>
      %cond = "tf.ReadVariableOp"(%var0) {device = "/CPU:0"} : (tensor<!tf_type.resource<tensor<i1>>>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 01 23:54:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  10. operator/pkg/tpath/tree_test.go

    `,
    		},
    		{
    			desc:     "overwrite",
    			baseYAML: testTreeYAML,
    			path:     "a.b.c",
    			value:    "val2",
    			want: `
    a:
      b:
        c: val2
        list1:
        - i1: val1
        - i2: val2
        - i3a: key1
          i3b:
            list2:
            - i1: val1
            - i2: val2
            - i3a: key1
              i3b:
                i1: va11
    `,
    		},
    		{
    			desc:     "partial create",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 15.6K bytes
    - Viewed (0)
Back to top