- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for doImport (0.12 sec)
-
src/go/internal/srcimporter/srcimporter_test.go
flag.Parse() build.Default.GOROOT = testenv.GOROOT(nil) os.Exit(m.Run()) } const maxTime = 2 * time.Second var importer = New(&build.Default, token.NewFileSet(), make(map[string]*types.Package)) func doImport(t *testing.T, path, srcDir string) { t0 := time.Now() if _, err := importer.ImportFrom(path, srcDir, 0); err != nil { // don't report an error if there's no buildable Go files if _, nogo := err.(*build.NoGoError); !nogo {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 6.5K bytes - Viewed (0) -
src/cmd/go/internal/load/test.go
t.Tests = append(t.Tests, testFunc{pkg, name, "", false}) *doImport, *seen = true, true continue } err := checkTestFunc(n, "M") if err != nil { return err } if t.TestMain != nil { return errors.New("multiple definitions of TestMain") } t.TestMain = &testFunc{pkg, name, "", false} *doImport, *seen = true, true case isTest(name, "Test"):
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 14:01:23 UTC 2024 - 28.2K bytes - Viewed (0) -
pkg/config/schema/codegen/collections.go
tname := spl[len(spl)-1] stat := strings.Split(r.StatusProto, ".") statName := stat[len(stat)-1] e := colEntry{ Resource: r, ClientImport: toImport(r.ProtoPackage), StatusImport: toImport(r.StatusProtoPackage), IstioAwareClientImport: toIstioAwareImport(r.ProtoPackage), ClientGroupPath: toGroup(r.ProtoPackage), ClientGetter: toGetter(r.ProtoPackage),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 25 07:19:43 UTC 2023 - 5.4K bytes - Viewed (0)