- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for IgnoreFuncBodies (0.32 sec)
-
src/go/types/self_test.go
path := filepath.Join("..", "..", p) for _, ignoreFuncBodies := range []bool{false, true} { name := "funcbodies" if ignoreFuncBodies { name = "nofuncbodies" } b.Run(name, func(b *testing.B) { b.Run("info", func(b *testing.B) { runbench(b, path, ignoreFuncBodies, true) }) b.Run("noinfo", func(b *testing.B) { runbench(b, path, ignoreFuncBodies, false) }) }) } }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 19:39:00 UTC 2023 - 2.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/self_test.go
for _, ignoreFuncBodies := range []bool{false, true} { name := "funcbodies" if ignoreFuncBodies { name = "nofuncbodies" } b.Run(name, func(b *testing.B) { b.Run("info", func(b *testing.B) { runbench(b, path, ignoreFuncBodies, true) }) b.Run("noinfo", func(b *testing.B) { runbench(b, path, ignoreFuncBodies, false) }) }) } }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 19:39:00 UTC 2023 - 2.8K bytes - Viewed (0) -
src/go/internal/srcimporter/srcimporter.go
files, err := p.parseFiles(bp.Dir, filenames) if err != nil { return nil, err } // type-check package files var firstHardErr error conf := types.Config{ IgnoreFuncBodies: true, // continue type-checking after the first error Error: func(err error) { if firstHardErr == nil && !err.(types.Error).Soft { firstHardErr = err } }, Importer: p,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 18:54:32 UTC 2022 - 8.2K bytes - Viewed (0)