- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ImportStack (0.14 sec)
-
src/cmd/go/internal/load/test.go
allImports = append(allImports, p.XTestImports...) pre.preloadImports(ctx, opts, allImports, p.Internal.Build) var ptestErr, pxtestErr *PackageError var imports, ximports []*Package var stk ImportStack var testEmbed, xtestEmbed map[string][]string var incomplete bool stk.Push(p.ImportPath + " (test)") rawTestImports := str.StringList(p.TestImports) for i, path := range p.TestImports {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 14:01:23 UTC 2024 - 28.2K bytes - Viewed (0) -
src/cmd/go/internal/list/list.go
// the package the error was produced for. Each package can have at most // one error set on it. sort.Slice(p.DepsErrors, func(i, j int) bool { stki, stkj := p.DepsErrors[i].ImportStack, p.DepsErrors[j].ImportStack // Some packages are missing import stacks. To ensure deterministic // sort order compare two errors that are missing import stacks by // their errors' error texts. if len(stki) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 16:56:39 UTC 2024 - 33.3K bytes - Viewed (0) -
src/cmd/go/internal/work/action.go
// an ELF note with name "Go\x00\x00" and type 1. For GCCGO it is extracted from the // .go_export section. func readpkglist(shlibpath string) (pkgs []*load.Package) { var stk load.ImportStack if cfg.BuildToolchainName == "gccgo" { f, err := elf.Open(shlibpath) if err != nil { base.Fatal(fmt.Errorf("failed to open shared library: %v", err)) } defer f.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:39:17 UTC 2024 - 32.7K bytes - Viewed (0)