- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 191 for importpaths (0.26 sec)
-
src/internal/coverage/cfile/testsupport.go
// (no counters) and invoke processPod on it. for i := range mfc.ImportPaths { p := mfc.ImportPaths[i] if _, ok := importpaths[p]; ok { continue } var pod pods.Pod pod.MetaFile = mfc.MetaFileFragments[i] if err := ts.processPod(pod, importpaths); err != nil { return err } } return 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/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/internal/search/search.go
} } } // ImportPaths returns the matching paths to use for the given command line. // It calls ImportPathsQuiet and then WarnUnmatched. func ImportPaths(patterns, modRoots []string) []*Match { matches := ImportPathsQuiet(patterns, modRoots) WarnUnmatched(matches) return matches } // ImportPathsQuiet is like ImportPaths but does not warn about patterns with no matches.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 31 20:33:05 UTC 2023 - 15.4K bytes - Viewed (0) -
src/internal/coverage/cfile/ts_test.go
} mfile, token := genAuxMeta(t, othermetadir) // Write a metafiles file. metafiles := filepath.Join(tgcd, coverage.MetaFilesFileName) mfc := coverage.MetaFileCollection{ ImportPaths: []string{"command-line-arguments"}, MetaFileFragments: []string{mfile}, } jdata, err := json.Marshal(mfc) if err != nil { t.Fatalf("marshal MetaFileCollection: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:58:07 UTC 2024 - 5.2K bytes - Viewed (0) -
src/internal/coverage/defs.go
// MetaFilePaths contains information generated by the Go command and // the read in by coverage test support functions within an executing // "go test -cover" binary. type MetaFileCollection struct { ImportPaths []string MetaFileFragments []string } //..................................................................... // // Counter data definitions: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 12:51:16 UTC 2023 - 11.9K 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/go/printer/nodes.go
if err != nil { return lit } // if the string is an invalid path, return whatever we have // // spec: "Implementation restriction: A compiler may restrict // ImportPaths to non-empty strings using only characters belonging // to Unicode's L, M, N, P, and S general categories (the Graphic // characters without spaces) and may also exclude the characters
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 17 18:53:17 UTC 2023 - 52.6K bytes - Viewed (0) -
src/go/doc/comment/parse.go
type DocLink struct { Text []Text // text of link // ImportPath, Recv, and Name identify the Go package or symbol // that is the link target. The potential combinations of // non-empty fields are: // - ImportPath: a link to another package // - ImportPath, Name: a link to a const, func, type, or var in another package // - ImportPath, Recv, Name: a link to a method in another package
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 33.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_list_dir.txt
go get env GO111MODULE=off go list -f '{{.ImportPath}}' $GOROOT/src/math stdout ^math$ env GO111MODULE=on go list -f '{{.ImportPath}}' $GOROOT/src/math stdout ^math$ go list -f '{{.ImportPath}}' . stdout ^x$ go mod download rsc.io/quote@v1.5.2 go list -f '{{.ImportPath}}' $GOPATH/pkg/mod/rsc.io/quote@v1.5.2 stdout '^rsc.io/quote$' go list -f '{{.ImportPath}}' $GOPATH/pkg/mod/rsc.io/sampler@v1.3.0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 10 19:08:19 UTC 2022 - 854 bytes - Viewed (0) -
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)