- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for pkgdep (0.27 sec)
-
src/cmd/go/testdata/script/list_test_err.txt
import "testing" func TestGeneric[T any](t *testing.T) {} -- cycleerr/cycleerr_test.go -- package cycleerr import ( _ "testdep_a" _ "testdep_cycle" ) -- pkgdep/pkgdep.go -- package pkgdep -- testdep_a/testdep_a.go -- package testdep_a -- testdep_b/testdep_b.go -- package testdep_b -- testdep_cycle/testdep_cycle.go -- package testdep_cycle
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 04 23:08:19 UTC 2023 - 2.4K bytes - Viewed (0) -
src/cmd/pack/pack.go
goto close } for _, e := range aro.Entries { if e.Type != archive.EntryPkgDef { continue } if verbose { fmt.Printf("__.PKGDEF # %s\n", file) } ar.a.AddEntry(archive.EntryPkgDef, "__.PKGDEF", 0, 0, 0, 0644, e.Size, io.NewSectionReader(f, e.Offset, e.Size)) done = true } close: f.Close() if done { break } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 8.2K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter.go
// in prior Go releases) for the package located in pkgDir. // // (We use the package's directory instead of its import path // mainly to simplify handling of the packages in src/vendor // and cmd/vendor.) func lookupGorootExport(pkgDir string) (string, error) { f, ok := exportMap.Load(pkgDir) if !ok { var ( listOnce sync.Once exportPath string err error )
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/internal/coverage/rtcov/rtcov.go
CounterMode: cmode, CounterGranularity: cgran, }) if pkgid != -1 { if Meta.PkgMap == nil { Meta.PkgMap = make(map[int]int) } if _, ok := Meta.PkgMap[pkgid]; ok { return 0 } // Record the real slot (position on meta-list) for this // package; we'll use the map to fix things up later on. Meta.PkgMap[pkgid] = slot } // ID zero is reserved as invalid. return uint32(slot + 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/compile/internal/types/pkg.go
// instantiations. p.Prefix = path } else { p.Prefix = objabi.PathToPrefix(path) } p.Syms = make(map[string]*Sym) pkgMap[path] = p return p } func PkgMap() map[string]*Pkg { return pkgMap } var nopkg = &Pkg{ Syms: make(map[string]*Sym), } func (pkg *Pkg) Lookup(name string) *Sym { s, _ := pkg.LookupOK(name) return s }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 16:28:50 UTC 2023 - 3.1K bytes - Viewed (0) -
src/cmd/go/internal/modload/search.go
fmt.Fprintf(os.Stderr, "warning: ignoring symlink %s\n", pkgDir) } } return nil } if !want { return filepath.SkipDir } // Stop at module boundaries. if (prune&pruneGoMod != 0) && pkgDir != root { if fi, err := os.Stat(filepath.Join(pkgDir, "go.mod")); err == nil && !fi.IsDir() { return filepath.SkipDir }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:15 UTC 2023 - 7.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_race_install.txt
[!race] skip [short] skip mkdir $WORKDIR/tmp/pkg go install -race -pkgdir=$WORKDIR/tmp/pkg std -- go.mod -- module empty go 1.16 -- pkg/pkg.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 01 08:31:45 UTC 2022 - 159 bytes - Viewed (0) -
src/cmd/go/testdata/script/build_relative_pkgdir.txt
env GO111MODULE=off # Regression test for golang.org/issue/21309: accept relative -pkgdir argument. [short] skip mkdir $WORK/gocache env GOCACHE=$WORK/gocache
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 01 08:31:45 UTC 2022 - 189 bytes - Viewed (0) -
src/go/doc/comment_test.go
"testing" ) func TestComment(t *testing.T) { fset := token.NewFileSet() pkgs, err := parser.ParseDir(fset, "testdata/pkgdoc", nil, parser.ParseComments) if err != nil { t.Fatal(err) } if pkgs["pkgdoc"] == nil { t.Fatal("missing package pkgdoc") } pkg := New(pkgs["pkgdoc"], "testdata/pkgdoc", 0) var (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 10 06:33:18 UTC 2022 - 3K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/report/package.go
import "regexp" // pkgRE extracts package name, It looks for the first "." or "::" that occurs // after the last "/". (Searching after the last / allows us to correctly handle // names that look like "some.url.com/foo.bar".) var pkgRE = regexp.MustCompile(`^((.*/)?[\w\d_]+)(\.|::)([^/]*)$`) // packageName returns the package name of the named symbol, or "" if not found. func packageName(name string) string { m := pkgRE.FindStringSubmatch(name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 16:39:48 UTC 2023 - 512 bytes - Viewed (0)