- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for PkgObj (0.1 sec)
-
src/go/internal/gcimporter/gcimporter.go
if bp.PkgObj == "" { if bp.Goroot && bp.Dir != "" { filename, err = lookupGorootExport(bp.Dir) if err == nil { _, err = os.Stat(filename) } if err == nil { return filename, bp.ImportPath, nil } } goto notfound } else { noext = strings.TrimSuffix(bp.PkgObj, ".a") } id = bp.ImportPath
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 6.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go
return nil, fmt.Errorf("empty path") } var pkgobj, suffix string if dot := strings.IndexByte(pathstr, opType); dot < 0 { pkgobj = pathstr } else { pkgobj = pathstr[:dot] suffix = pathstr[dot:] // suffix starts with "." } obj := pkg.Scope().Lookup(pkgobj) if obj == nil { return nil, fmt.Errorf("package %s does not contain %q", pkg.Path(), pkgobj) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/go/internal/modindex/read.go
p.ImportPath = filepath.Join(modprefix, p.ImportPath) } // Set GOROOT-specific fields (sometimes for modules in a GOPATH directory). // The fields set below (SrcRoot, PkgRoot, BinDir, PkgTargetRoot, and PkgObj) // are only set in build.Import if p.Root != "". var pkgtargetroot string suffix := "" if ctxt.InstallSuffix != "" { suffix = "_" + ctxt.InstallSuffix } switch ctxt.Compiler {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 29.7K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
if pp.PkgTargetRoot != "" && cfg.BuildPkgdir != "" { old := pp.PkgTargetRoot pp.PkgRoot = cfg.BuildPkgdir pp.PkgTargetRoot = cfg.BuildPkgdir if pp.PkgObj != "" { pp.PkgObj = filepath.Join(cfg.BuildPkgdir, strings.TrimPrefix(pp.PkgObj, old)) } } p.Dir = pp.Dir p.ImportPath = pp.ImportPath p.ImportComment = pp.ImportComment p.Name = pp.Name p.Doc = pp.Doc p.Root = pp.Root
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
src/go/build/build.go
PkgTargetRoot string // architecture dependent install root directory ("" if unknown) BinDir string // command install directory ("" if unknown) Goroot bool // package found in Go root PkgObj string // installed .a file AllTags []string // tags that can influence file selection in this directory ConflictDir string // this directory shadows Dir in $GOPATH
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62.3K bytes - Viewed (0) -
src/cmd/go/internal/work/build.go
case p.Name != "main" && p.Module != nil: // Non-executables have no target (except the cache) when building with modules. case p.Name != "main" && p.Standard && p.Internal.Build.PkgObj == "": // Most packages in std do not need an installed .a, because they can be // rebuilt and used directly from the build cache. // A few targets (notably those using cgo) still do need to be installed
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 17:22:59 UTC 2024 - 33.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Package.ImportPos", Field, 0}, {"Package.Imports", Field, 0}, {"Package.InvalidGoFiles", Field, 6}, {"Package.MFiles", Field, 3}, {"Package.Name", Field, 0}, {"Package.PkgObj", Field, 0}, {"Package.PkgRoot", Field, 0}, {"Package.PkgTargetRoot", Field, 5}, {"Package.Root", Field, 0}, {"Package.SFiles", Field, 0}, {"Package.SrcRoot", Field, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)