Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 273 for testDiv (0.18 sec)

  1. platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy

                    import org.junit.Test;
                    import transitive.Divisor;
    
                    public class DivTest {
                        @Test
                        public void testDiv() {
                            Divisor divisor = new Divisor();
                            Assert.assertEquals(2, divisor.div(4, 2));
                        }
                    }
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. src/internal/testenv/testenv.go

    // license that can be found in the LICENSE file.
    
    // Package testenv provides information about what functionality
    // is available in different testing environments run by the Go team.
    //
    // It is an internal package because these details are specific
    // to the Go team's test setup (on build.golang.org) and not
    // fundamental to tests in general.
    package testenv
    
    import (
    	"bytes"
    	"errors"
    	"flag"
    	"fmt"
    	"internal/cfg"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/ops.mlir

      func.return %0#0 : tensor<* x !quant.any<i16:f32>>
    }
    
    // -----
    
    // CHECK-LABEL: testDiv
    func.func @testDiv(tensor<? x i32>, tensor<? x i32>) -> tensor<? x i32> {
    ^bb0(%arg0: tensor<? x i32>, %arg1: tensor<? x i32>):
      // CHECK: tfl.div %arg0, %arg1 {fused_activation_function = "RELU6"}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  4. src/net/http/cgi/host_test.go

    		if n < len(buf) {
    			return r.Match(buf[:n])
    		}
    		// Buffer wasn't large enough for a full goroutine dump.
    		// Resize it and try again.
    		buf = make([]byte, 2*len(buf))
    	}
    }
    
    func TestDir(t *testing.T) {
    	testenv.MustHaveExec(t)
    	cwd, _ := os.Getwd()
    	h := &Handler{
    		Path: os.Args[0],
    		Root: "/test.cgi",
    		Dir:  cwd,
    	}
    	expectedMap := map[string]string{
    		"cwd": cwd,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 18:29:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/go/types/check_test.go

    func testDirFiles(t *testing.T, dir string, manual bool) {
    	testenv.MustHaveGoBuild(t)
    	dir = filepath.FromSlash(dir)
    
    	fis, err := os.ReadDir(dir)
    	if err != nil {
    		t.Error(err)
    		return
    	}
    
    	for _, fi := range fis {
    		path := filepath.Join(dir, fi.Name())
    
    		// If fi is a directory, its files make up a single package.
    		if fi.IsDir() {
    			testDir(t, path, manual)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/check_test.go

    	testenv.MustHaveGoBuild(t)
    	dir = filepath.FromSlash(dir)
    
    	fis, err := os.ReadDir(dir)
    	if err != nil {
    		t.Error(err)
    		return
    	}
    
    	for _, fi := range fis {
    		path := filepath.Join(dir, fi.Name())
    
    		// If fi is a directory, its files make up a single package.
    		if fi.IsDir() {
    			testDir(t, path, colDelta, manual)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. src/os/os_windows_test.go

    func TestNetworkSymbolicLink(t *testing.T) {
    	testenv.MustHaveSymlink(t)
    
    	const _NERR_ServerNotStarted = syscall.Errno(2114)
    
    	dir := t.TempDir()
    	chdir(t, dir)
    
    	pid := os.Getpid()
    	shareName := fmt.Sprintf("GoSymbolicLinkTestShare%d", pid)
    	sharePath := filepath.Join(dir, shareName)
    	testDir := "TestDir"
    
    	err := os.MkdirAll(filepath.Join(sharePath, testDir), 0777)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  8. src/cmd/go/script_test.go

    // TestScript runs the tests in testdata/script/*.txt.
    func TestScript(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	testenv.SkipIfShortAndSlow(t)
    
    	srv, err := vcstest.NewServer()
    	if err != nil {
    		t.Fatal(err)
    	}
    	t.Cleanup(func() {
    		if err := srv.Close(); err != nil {
    			t.Fatal(err)
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/NativeCompilerTest.groovy

            def testDir = tmpDirProvider.testDirectory
            def objectFileDir = testDir.file("output/objects")
            def sourceFiles = [testDir.file("source1.ext"), testDir.file("source2.ext")]
    
            when:
            def compileSpec = Stub(getCompileSpecType()) {
                getTempDir() >> testDir
                getObjectFileDir() >> objectFileDir
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. src/cmd/link/link_test.go

    	importcfgfile := filepath.Join(tmpdir, "importcfg")
    	testenv.WriteImportcfg(t, importcfgfile, nil, main)
    
    	cmd := testenv.Command(t, testenv.GoToolPath(t), "tool", "compile", "-importcfg="+importcfgfile, "-p=main", "main.go")
    	cmd.Dir = tmpdir
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("failed to compile main.go: %v, output: %s\n", err, out)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
Back to top