Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 92 for test_add (0.14 sec)

  1. tensorflow/compiler/mlir/lite/tests/get-arithmetic-count.mlir

      func.return %0 : tensor<1x40xf32>
    }
    
    func.func @testAdd(%arg0: tensor<10x10x10xf32>, %arg1: tensor<10x10x10xf32>) -> tensor<10x10x10xf32> {
      // CHECK: _arithmetic_count = 1000 : i64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 04:58:17 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  2. src/regexp/testdata/testregex.c

    					test |= TEST_VERIFY;
    					test &= ~(TEST_AND|TEST_OR);
    					state.verify = state.passed;
    					continue;
    				case '&':
    					test |= TEST_VERIFY|TEST_AND;
    					test &= ~TEST_OR;
    					continue;
    				case '|':
    					test |= TEST_VERIFY|TEST_OR;
    					test &= ~TEST_AND;
    					continue;
    				case ';':
    					test |= TEST_OR;
    					test &= ~TEST_AND;
    					continue;
    
    				case '{':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  3. src/math/rand/v2/rand_test.go

    	var t int64
    	arg := keep(int64(2e9))
    	for n := b.N; n > 0; n-- {
    		t += r.Int64N(arg)
    	}
    	Sink = uint64(t)
    }
    
    func BenchmarkInt64N1e18(b *testing.B) {
    	r := testRand()
    	var t int64
    	arg := keep(int64(1e18))
    	for n := b.N; n > 0; n-- {
    		t += r.Int64N(arg)
    	}
    	Sink = uint64(t)
    }
    
    func BenchmarkInt64N2e18(b *testing.B) {
    	r := testRand()
    	var t int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py

    @needs_pydanticv1
    def test_testing_dbs_py39(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./test.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app_py310.tests import test_sql_app
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 825 bytes
    - Viewed (0)
  5. tests/test_tutorial/test_sql_databases/test_testing_databases.py

    @needs_pydanticv1
    def test_testing_dbs(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./test.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app.tests import test_sql_app
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 788 bytes
    - Viewed (0)
  6. tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py

    @needs_pydanticv1
    def test_testing_dbs_py39(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./test.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app_py39.tests import test_sql_app
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 822 bytes
    - Viewed (0)
  7. src/cmd/link/cgo_test.go

    const test1_main = `
    package main
    
    /*
    extern int myadd(int, int);
    int c_add(int a, int b) {
    	return myadd(a, b);
    }
    */
    import "C"
    
    func main() {
    	println(C.c_add(1, 2))
    }
    `
    
    const test1_add = `
    package main
    
    import "C"
    
    /* test */
    
    //export myadd
    func myadd(a C.int, b C.int) C.int {
    	return a + b
    }
    `
    
    const test2_main = `
    package main
    
    import "fmt"
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 09 22:13:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/list_test_err.txt

    go list -e -test -deps -f '{{.ImportPath}} {{.Error | printf "%q"}}' nameerr
    stdout 'pkgdep <nil>'
    stdout 'testdep_a <nil>'
    stdout 'testdep_b <nil>'
    stdout 'nameerr\.test "[^"]*wrong signature for TestBad'
    ! stderr 'wrong signature for TestBad'
    
    # go list prints a useful error for generic test functions
    ! go list -test -deps genericerr
    stderr 'wrong signature for TestGeneric, test functions cannot have type parameters'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 04 23:08:19 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppApplicationPluginTest.groovy

            project.pluginManager.apply(CppApplicationPlugin)
            project.evaluate()
            project.application.baseName = "test_app"
    
            then:
            def link = project.tasks.linkDebug
            link.linkedFile.get().asFile == projectDir.file("build/exe/main/debug/" + OperatingSystem.current().getExecutableName("test_app"))
    
            def install = project.tasks.installDebug
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py

    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from ...utils import needs_pydanticv1
    
    
    @pytest.fixture(scope="module")
    def client():
        test_db = Path("./sql_app.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app import alt_main
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top