Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 511 for test_1 (0.16 sec)

  1. cmd/kubeadm/app/util/config/strict/testdata/invalid_casesensitive_field.yaml

    apiVersion: kubeadm.k8s.io/v1beta3
    kind: ClusterConfiguration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 13:30:26 UTC 2023
    - 90 bytes
    - Viewed (0)
  2. test/fixedbugs/issue18595.go

    }
    type J interface {
    	M()
    }
    
    type T struct{}
    
    func (*T) M() {}
    
    func main() {
    	test1()
    	test2()
    }
    
    func test1() {
    	t := new(T)
    	var i1, i2 I
    	var j interface {
    		M()
    	}
    	i1 = t
    	j = t
    	i2 = j
    	if i1 != i2 {
    		panic("interfaces not equal")
    	}
    }
    
    func test2() {
    	t := new(T)
    	i1 := (I)(t)
    	i2 := (I)((interface {
    		M()
    	})((J)(t)))
    	if i1 != i2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 20:00:05 UTC 2017
    - 867 bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/experimental/tests/saved_model_api_test.cc

    }
    
    // This value parameterized test allows us to test both TFRT
    // and non TFRT runtimes.
    // https://github.com/google/googletest/blob/dcc92d0ab6c4ce022162a23566d44f673251eee4/googletest/docs/advanced.md#value-parameterized-tests
    class CPPSavedModelAPITest : public ::testing::TestWithParam<bool> {};
    
    TEST_P(CPPSavedModelAPITest, LoadsSavedModelWithTags) {
      Status status;
      RuntimeBuilder builder;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 14 23:59:14 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  4. test/recover2.go

    // license that can be found in the LICENSE file.
    
    // Test of recover for run-time errors.
    
    // TODO(rsc):
    //	null pointer accesses
    
    package main
    
    import "strings"
    
    var x = make([]byte, 10)
    
    func main() {
    	test1()
    	test2()
    	test3()
    	test4()
    	test5()
    	test6()
    	test7()
    }
    
    func mustRecover(s string) {
    	v := recover()
    	if v == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 03 20:41:29 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/FilteredConfigurationIntegrationTest.groovy

            outputContains("external-dependencies: [test1-1.0.jar]")
            outputContains("child1-dependencies: [child1.jar, child1-lib.jar, test2-1.0.jar]")
        }
    
        @ToBeFixedForConfigurationCache(because = "task uses Configuration API")
        def "can query files for filtered first level dependencies when there is a cycle in the dependency graph"() {
            mavenRepo.module("group", "test1", "1.0").publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 20:27:07 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/legalize_tf_quant_test.cc

    #include "tensorflow/core/tpu/kernels/tpu_compile_op_support.h"
    #include "tsl/lib/core/status_test_util.h"
    
    namespace mlir::quant::stablehlo {
    namespace {
    
    using ::testing::Test;
    
    class LegalizeTFQuantTest : public Test {
     protected:
      void TestBridgeLowering(llvm::StringRef mlir_module_string,
                              llvm::ArrayRef<tensorflow::TensorShape> arg_shapes,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 18:43:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/gover/mod_test.go

    	"testing"
    
    	"golang.org/x/mod/module"
    )
    
    func TestIsToolchain(t *testing.T) { test1(t, isToolchainTests, "IsToolchain", IsToolchain) }
    
    var isToolchainTests = []testCase1[string, bool]{
    	{"go", true},
    	{"toolchain", true},
    	{"anything", false},
    	{"golang.org/toolchain", false},
    }
    
    func TestModCompare(t *testing.T) { test3(t, modCompareTests, "ModCompare", ModCompare) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 17:51:28 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm-infrastructure/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorData.groovy

        public void run(RunNotifier runNotifier) {
            // Run tests in 'parallel'
            Description test1 = Description.createTestDescription(type, 'broken')
            Description test2 = Description.createTestDescription(type, 'ok')
            runNotifier.fireTestStarted(test1)
            runNotifier.fireTestStarted(test2)
            runNotifier.fireTestFailure(new Failure(test1, failure.rawFailure))
            runNotifier.fireTestFinished(test2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  9. tensorflow/cc/gradients/data_flow_grad_test.cc

        float max_error;
        TF_ASSERT_OK((ComputeGradientError<float, float, float>(
            scope_, xs, x_shapes, ys, y_shapes, &max_error)));
        EXPECT_LT(max_error, 1e-4);
      }
    
      Scope scope_;
    };
    
    TEST_F(DataFlowGradTest, DynamicPartitionGrad) {
      TensorShape data_shape({2, 3, 2});
      auto data = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(data_shape));
      auto partitions = Const(scope_, {{2, 1, 0}, {1, 2, 0}});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 02 18:49:13 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/while_gradients_test.cc

        for (int i = 0; i < out_tensors.size(); ++i) {
          test::ExpectTensorEqual<T>(
              out_tensors[i], test::AsTensor<T>({expected_grad_values[i]}, {}));
        }
      }
    
      Scope scope_;
      std::vector<Output> inputs_;
      std::vector<Output> outputs_;
      std::vector<Output> grad_outputs_;
    };
    
    TEST_F(WhileGradientsTest, Basic) {
      // Create loop: while (i < 10) i += 1
      Init(1);
      CreateLoop(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 27 20:32:17 UTC 2017
    - 7.7K bytes
    - Viewed (0)
Back to top