Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 115 for init_test (0.15 sec)

  1. tensorflow/compiler/jit/tests/auto_clustering_test_helper.cc

        // the non-CUDA config, under the assumption that regressions with
        // --config=cuda would also be detected as regressions without
        // --config=cuda.
    
        LOG(INFO) << "Not running "
                  << ::testing::UnitTest::GetInstance()->current_test_info()->name()
                  << " since test was not built with --config=cuda";
        return absl::OkStatus();
      }
    
      TF_RETURN_IF_ERROR(AssertGraphDefIsUnclustered(graphdef));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 12:11:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h.pump

          : public test_case_name { \
       public: \
        GTEST_TEST_CLASS_NAME_(test_case_name, test_name)() {} \
        virtual void TestBody(); \
       private: \
        static int AddToRegistry() { \
          ::testing::UnitTest::GetInstance()->parameterized_test_registry(). \
              GetTestCasePatternHolder<test_case_name>(\
                  #test_case_name, __FILE__, __LINE__)->AddTestPattern(\
                      #test_case_name, \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h.pump

          : public test_case_name { \
       public: \
        GTEST_TEST_CLASS_NAME_(test_case_name, test_name)() {} \
        virtual void TestBody(); \
       private: \
        static int AddToRegistry() { \
          ::testing::UnitTest::GetInstance()->parameterized_test_registry(). \
              GetTestCasePatternHolder<test_case_name>(\
                  #test_case_name, __FILE__, __LINE__)->AddTestPattern(\
                      #test_case_name, \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/debug/debug_test.cc

      }
    
      std::string path_;
      mlir::MLIRContext context_;
      mlir::OwningOpRef<mlir::ModuleOp> module_;
    
     private:
      std::string GetOutputPath() {
        const auto* const test_info =
            testing::UnitTest::GetInstance()->current_test_info();
        return tsl::io::JoinPath(
            getenv("TEST_UNDECLARED_OUTPUTS_DIR"),
            absl::StrCat(test_info->test_suite_name(), ".", test_info->name()));
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 11:15:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. src/net/example_test.go

    // Copyright 2012 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 net_test
    
    import (
    	"context"
    	"fmt"
    	"io"
    	"log"
    	"net"
    	"time"
    )
    
    func ExampleListener() {
    	// Listen on TCP port 2000 on all available unicast and
    	// anycast IP addresses of the local system.
    	l, err := net.Listen("tcp", ":2000")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 13 16:36:59 UTC 2021
    - 8.5K bytes
    - Viewed (0)
  6. src/sync/atomic/type.go

    // b32 returns a uint32 0 or 1 representing b.
    func b32(b bool) uint32 {
    	if b {
    		return 1
    	}
    	return 0
    }
    
    // For testing *Pointer[T]'s methods can be inlined.
    // Keep in sync with cmd/compile/internal/test/inl_test.go:TestIntendedInlining.
    var _ = &Pointer[int]{}
    
    // A Pointer is an atomic pointer of type *T. The zero value is a nil *T.
    type Pointer[T any] struct {
    	// Mention *T in a field to disallow conversion between Pointer types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestPlugin.java

            // Add the unit test and extension
            final DefaultCppTestSuite testComponent = componentFactory.newInstance(CppTestSuite.class, DefaultCppTestSuite.class, "test");
            project.getExtensions().add(CppTestSuite.class, "unitTest", testComponent);
            project.getComponents().add(testComponent);
    
            testComponent.getBaseName().convention(project.getName() + "Test");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. tensorflow/cc/training/queue_runner_test.cc

    constexpr char kEnqueueOp0[] = "enqueue0";
    constexpr char kEnqueueOp1[] = "enqueue1";
    constexpr char kIllegalOpName1[] = "would fail";
    constexpr char kIllegalOpName2[] = "fail again";
    constexpr char kQueueName[] = "unit_test";
    constexpr char kQueueName0[] = "q0";
    constexpr char kQueueName1[] = "q1";
    constexpr char kSquareOpName[] = "square";
    constexpr char kVarOpName[] = "var";
    
    GraphDef BuildSimpleGraph() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Sep 21 06:27:51 UTC 2019
    - 14.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body/test_tutorial001.py

    from unittest.mock import patch
    
    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture
    def client():
        from docs_src.body.tutorial001 import app
    
        client = TestClient(app)
        return client
    
    
    def test_body_float(client: TestClient):
        response = client.post("/items/", json={"name": "Foo", "price": 50.5})
        assert response.status_code == 200
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body/test_tutorial001_py310.py

    from unittest.mock import patch
    
    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture
    def client():
        from docs_src.body.tutorial001_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_body_float(client: TestClient):
        response = client.post("/items/", json={"name": "Foo", "price": 50.5})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15K bytes
    - Viewed (1)
Back to top