- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 121 for importpath (0.18 sec)
-
src/internal/coverage/cformat/format.go
// same import path; counter data values will be accumulated. func (fm *Formatter) SetPackage(importpath string) { if importpath == fm.pkg { return } fm.pkg = importpath ps, ok := fm.pm[importpath] if !ok { ps = new(pstate) fm.pm[importpath] = ps ps.unitTable = make(map[extcu]uint32) ps.funcTable = make(map[fnfile]uint32) } fm.p = ps }
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/work/cover.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 19:09:38 UTC 2023 - 5.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_pgo_issue66218.txt
# the non-pgo variant's slice when it modifies the pgo variant's Imports field to # add the [.ForMain] suffix. go list -f 'ImportPath: "{{.ImportPath}}", Imports: "{{.Imports}}", ImportMap: "{{.ImportMap}}"' m/a m/b cmp stdout want -- want -- ImportPath: "m/a", Imports: "[m/b [m/a]]", ImportMap: "map[m/b:m/b [m/a]]" ImportPath: "m/b", Imports: "[m/c]", ImportMap: "map[]" -- go.mod -- module m go 1.23 -- a/a.go -- package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 615 bytes - Viewed (0) -
src/cmd/go/testdata/script/list_test_cycle.txt
go list ./p stdout 'example/p' ! go list -json=ImportPath -test ./p cmp stderr wanterr.txt ! go list -json=ImportPath,Deps -test ./p cmp stderr wanterr.txt ! go list -json=ImportPath,Deps -deps -test ./p cmp stderr wanterr.txt ! go list -json=ImportPath -deps -test ./p cmp stderr wanterr.txt -- wanterr.txt -- go: can't load test package: package example/p imports example/q imports example/r
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 19:18:23 UTC 2023 - 644 bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
// src/cmd/go/internal/modcmd/vendor.go fold := str.ToFold(p.ImportPath) if other := foldPath[fold]; other == "" { foldPath[fold] = p.ImportPath } else if other != p.ImportPath { setError(ImportErrorf(p.ImportPath, "case-insensitive import collision: %q and %q", p.ImportPath, other)) return } if !SafeArg(p.ImportPath) { setError(ImportErrorf(p.ImportPath, "invalid import path %q", p.ImportPath)) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_import_cycle_deps_errors.txt
go list -e -deps -json=ImportPath,Error,DepsErrors m/a cmp stdout want -- want -- { "ImportPath": "m/c", "DepsErrors": [ { "ImportStack": [ "m/a", "m/b", "m/c", "m/a" ], "Pos": "", "Err": "import cycle not allowed" } ] } { "ImportPath": "m/b", "DepsErrors": [ { "ImportStack": [ "m/a", "m/b", "m/c", "m/a" ], "Pos": "",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 19:18:27 UTC 2023 - 880 bytes - Viewed (0) -
src/cmd/go/testdata/script/gopath_std_vendor.txt
# resolve its dependencies in GOPATH/src. cd ../issue16333 go build . go list -deps -f '{{.ImportPath}} {{.Dir}}' . stdout $GOPATH[/\\]src[/\\]vendor[/\\]golang.org[/\\]x[/\\]net[/\\]http2[/\\]hpack ! stdout $GOROOT[/\\]src[/\\]vendor go list -test -deps -f '{{.ImportPath}} {{.Dir}}' . stdout $GOPATH[/\\]src[/\\]vendor[/\\]golang.org[/\\]x[/\\]net[/\\]http2[/\\]hpack ! stdout $GOROOT[/\\]src[/\\]vendor
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 1.4K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg_test.go
pkg := new(Package) pkg.ImportPath = tt.in pkg.GoFiles = tt.files pkg.Internal.CmdlineFiles = len(tt.files) > 0 gotMod := pkg.DefaultExecName() if gotMod != tt.wantMod { t.Errorf("pkg.DefaultExecName with ImportPath = %q in module mode = %v; want %v", tt.in, gotMod, tt.wantMod) } } { cfg.ModulesEnabled = false pkg := new(Package) pkg.ImportPath = tt.in pkg.GoFiles = tt.files
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 09 14:05:53 UTC 2022 - 2.4K bytes - Viewed (0) -
src/go/internal/srcimporter/srcimporter.go
} // package unsafe is known to the type checker if bp.ImportPath == "unsafe" { return types.Unsafe, nil } // no need to re-import if the package was imported completely before pkg := p.packages[bp.ImportPath] if pkg != nil { if pkg == &importing { return nil, fmt.Errorf("import cycle through package %q", bp.ImportPath) } if !pkg.Complete() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 18:54:32 UTC 2022 - 8.2K bytes - Viewed (0) -
src/cmd/go/internal/modload/import.go
} return message + hint } func (e *ImportMissingSumError) ImportPath() string { return e.importPath } type invalidImportError struct { importPath string err error } func (e *invalidImportError) ImportPath() string { return e.importPath } func (e *invalidImportError) Error() string { return e.err.Error() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 15:21:14 UTC 2024 - 27.7K bytes - Viewed (0)