Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 169 for var2 (0.18 sec)

  1. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerPluginClasspathInjectionIntegrationTest.groovy

            result.output.contains "Hello world!1"
            result.output.contains "Hello world! (buildSrc)"
        }
    
        static class FileSubclass extends File {
            FileSubclass(File var1) {
                super(var1.absolutePath)
            }
        }
    
        @InspectsExecutedTasks
        def "injected classpath may contain File subclasses"() {
            given:
            buildFile << plugin.build().useDeclaration
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 15 03:45:31 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/heap/heap_test.go

    }
    
    func compareInts(val1 interface{}, val2 interface{}) bool {
    	first := val1.(testHeapObject).val.(int)
    	second := val2.(testHeapObject).val.(int)
    	return first < second
    }
    
    // TestHeapBasic tests Heap invariant
    func TestHeapBasic(t *testing.T) {
    	h := New(testHeapObjectKeyFunc, compareInts)
    	const amount = 500
    	var i int
    
    	// empty queue
    	if item := h.Peek(); item != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. src/internal/fmtsort/sort_test.go

    		"NaN:nan -3:foo 7:bar +Inf:inf",
    	},
    	{
    		map[complex128]string{7 + 2i: "bar2", 7 + 1i: "bar", -3: "foo", complex(math.NaN(), 0i): "nan", complex(math.Inf(0), 0i): "inf"},
    		"(NaN+0i):nan (-3+0i):foo (7+1i):bar (7+2i):bar2 (+Inf+0i):inf",
    	},
    	{
    		map[bool]string{true: "true", false: "false"},
    		"false:false true:true",
    	},
    	{
    		chanMap(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. pkg/monitoring/monitoring_test.go

    	})
    	t.Run("secondary", func(t *testing.T) {
    		mt := monitortest.New(t)
    		testSum.With(name.Value("foo"), kind.Value("bar2")).Increment()
    		// Should have been reset
    		mt.Assert(testSum.Name(), map[string]string{"kind": "bar"}, monitortest.Exactly(0))
    		mt.Assert(testSum.Name(), map[string]string{"kind": "bar2"}, monitortest.Exactly(1))
    	})
    }
    
    func TestSum(t *testing.T) {
    	mt := monitortest.New(t)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 13 16:04:48 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir

      %cond = "tf._SomeOp"() : () -> tensor<i1>
      // CHECK: %[[GVAR1:.*]] = "tf.MlirLocalVarOp"() : () -> tensor<!tf_type.resource<tensor<5x3xf32>>>
      // CHECK: %[[GVAR2:.*]] = "tf.MlirLocalVarOp"() : () -> tensor<!tf_type.resource<tensor<5x3xf32>>>
      // CHECK: "tf.If"(%[[COND]], %[[VAR]], %[[GVAR1]], %[[GVAR2]])
      %1 = "tf.If"(%cond, %ta#0) {
        then_branch = @then_branch, else_branch = @else_branch, device = "", is_stateless = false}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 49K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/readonly_references_to_resources.mlir

      %val1 = "tf.Identity"(%val0) : (tensor<96x!tf_type.f32ref>) -> tensor<96xf32>
      %val2 = "tf.Identity"(%val0) : (tensor<96x!tf_type.f32ref>) -> tensor<96xf32>
      func.return
    }
    
    // -----
    
    // Test case: No follow-up ReadVariable case.
    
    func.func @f() {
      // CHECK-NOT: "tf.VariableV2"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/LocalComponentGraphResolveStateFactoryTest.groovy

            conf2.artifacts.add(Mock(PublishArtifact))
            ConfigurationVariant variant2 = conf2.outgoing.getVariants().create("variant2")
            variant2.attributes.attribute(Attribute.of("foo2", String), "bar2")
            variant2.artifacts.add(Stub(PublishArtifact))
            variant2.artifacts.add(Stub(PublishArtifact))
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. src/strings/example_test.go

    }
    
    func ExampleFieldsFunc() {
    	f := func(c rune) bool {
    		return !unicode.IsLetter(c) && !unicode.IsNumber(c)
    	}
    	fmt.Printf("Fields are: %q", strings.FieldsFunc("  foo1;bar2,baz3...", f))
    	// Output: Fields are: ["foo1" "bar2" "baz3"]
    }
    
    func ExampleHasPrefix() {
    	fmt.Println(strings.HasPrefix("Gopher", "Go"))
    	fmt.Println(strings.HasPrefix("Gopher", "C"))
    	fmt.Println(strings.HasPrefix("Gopher", ""))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:05:38 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  9. docs/site-replication/run-multi-site-oidc.sh

    	echo "expected bucket tag to have replicated, exiting..."
    	exit_1
    fi
    # stop minio1 instance
    kill -9 ${site1_pid}
    # Update tag on minio2/newbucket when minio1 is down
    ./mc tag set minio2/newbucket "key=val2"
    # create a new bucket on minio2. This should replicate to minio1 after it comes online.
    ./mc mb minio2/newbucket2
    # delete bucket2 on minio2. This should replicate to minio1 after it comes online.
    ./mc rb minio2/bucket2
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformParallelIntegrationTest.groovy

                    dependencies {
                        compile files("lib1.jar")
                    }
    
                    task jar2(type: Jar) {
                        archiveFileName = 'lib2.jar'
                        destinationDirectory = buildDir
                    }
                    artifacts {
                        compile jar2
                    }
                }
    
                configure([project("app1"), project("app2")]) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:31 UTC 2023
    - 16.9K bytes
    - Viewed (0)
Back to top