Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BenchmarkCheck (0.11 sec)

  1. src/cmd/compile/internal/types2/self_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	conf := Config{Importer: defaultImporter()}
    	_, err = conf.Check("cmd/compile/internal/types2", files, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    func BenchmarkCheck(b *testing.B) {
    	testenv.MustHaveGoBuild(b) // The Go command is needed for the importer to determine the locations of stdlib .a files.
    
    	for _, p := range []string{
    		filepath.Join("src", "net", "http"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:39:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. src/go/types/self_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	conf := Config{Importer: importer.Default()}
    	_, err = conf.Check("go/types", fset, files, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    func BenchmarkCheck(b *testing.B) {
    	testenv.MustHaveGoBuild(b) // The Go command is needed for the importer to determine the locations of stdlib .a files.
    
    	for _, p := range []string{
    		"net/http",
    		"go/parser",
    		"go/constant",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:39:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top