- Sort Score
- Result 10 results
- Languages All
Results 51 - 55 of 55 for GetPackage (0.19 sec)
-
src/internal/coverage/cformat/format.go
return &Formatter{ pm: make(map[string]*pstate), cm: cm, } } // SetPackage tells the formatter that we're about to visit the // coverage data for the package with the specified import path. // Note that it's OK to call SetPackage more than once with the // same import path; counter data values will be accumulated. func (fm *Formatter) SetPackage(importpath string) { if importpath == fm.pkg { return } fm.pkg = importpath
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.7K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
gorootSrcCmd := filepath.Join(cfg.GOROOTsrc, "cmd") if str.HasPathPrefix(r.dir, gorootSrcCmd) { modroot = gorootSrcCmd } } if modroot != "" { if rp, err := modindex.GetPackage(modroot, r.dir); err == nil { data.p, data.err = rp.Import(cfg.BuildContext, buildMode) goto Happy } else if !errors.Is(err, modindex.ErrNotIndexed) { base.Fatal(err) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
src/internal/coverage/cfile/testsupport.go
var pd *decodemeta.CoverageMetaDataDecoder pd, payload, err = mfr.GetPackageDecoder(pkIdx, payload) if err != nil { return fmt.Errorf("reading pkg %d from meta-file %s: %s", pkIdx, p.MetaFile, err) } ts.cf.SetPackage(pd.PackagePath()) importpaths[pd.PackagePath()] = struct{}{} var fd coverage.FuncDesc nf := pd.NumFuncs() for fnIdx := uint32(0); fnIdx < nf; fnIdx++ { if err := pd.ReadFunc(fnIdx, &fd); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 8.7K bytes - Viewed (0) -
src/cmd/covdata/dump.go
d.preambleEmitted = false d.pkgImportPath = pd.PackagePath() d.pkgName = pd.PackageName() d.modulePath = pd.ModulePath() if d.cmd == pkglistMode { d.pkgpaths[d.pkgImportPath] = struct{}{} } d.format.SetPackage(pd.PackagePath()) } func (d *dstate) EndPackage(pd *decodemeta.CoverageMetaDataDecoder, pkgIdx uint32) { } func (d *dstate) VisitFunc(pkgIdx uint32, fnIdx uint32, fd *coverage.FuncDesc) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 11:36:57 UTC 2023 - 11.2K bytes - Viewed (0) -
ChangeLog.md
- [`KT-61791`](https://youtrack.jetbrains.com/issue/KT-61791) Analysis API: Implement combined `getPackage` for combined Kotlin symbol providers - [`KT-62437`](https://youtrack.jetbrains.com/issue/KT-62437) K2 IDE. Resolution does not work inside lambda expression in constructor argument in supertypes
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 17:14:23 UTC 2024 - 292.1K bytes - Viewed (0)