- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 150 for pkglist (0.11 sec)
-
src/cmd/go/testdata/script/cover_build_cmdline_pkgs.txt
# Restore previous GOCOVERDIR setting env GOCOVERDIR=$SAVEGOCOVERDIR # Check to make sure we instrumented just the main package, not # any dependencies. go tool covdata pkglist -i=$WORK/covdata stdout cmd/nm ! stdout cmd/internal/goobj pkglist.txt # ... now collect a coverage profile from a Go file # listed on the command line. go build -cover -o $WORK/another.exe testdata/another.go mkdir $WORK/covdata2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 11:36:17 UTC 2023 - 1.5K bytes - Viewed (0) -
src/cmd/internal/objabi/path_test.go
goCmd, err := testenv.GoTool() if err != nil { t.Fatal(err) } pkgList, err := exec.Command(goCmd, "list", "-deps", "runtime").Output() if err != nil { if err, ok := err.(*exec.ExitError); ok { t.Log(string(err.Stderr)) } t.Fatal(err) } for _, pkg := range strings.Split(strings.TrimRight(string(pkgList), "\n"), "\n") { if pkg == "unsafe" { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 13:56:25 UTC 2023 - 2.3K bytes - Viewed (0) -
src/cmd/covdata/covdata.go
} fmt.Fprintf(os.Stderr, "usage: go tool covdata [command]\n") fmt.Fprintf(os.Stderr, ` Commands are: textfmt convert coverage data to textual format percent output total percentage of statements covered pkglist output list of package import paths func output coverage profile information for each function merge merge data files together subtract subtract one set of data files from another set
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/covdata/dump.go
// license that can be found in the LICENSE file. package main // This file contains functions and apis to support the "go tool // covdata" sub-commands that relate to dumping text format summaries // and reports: "pkglist", "func", "debugdump", "percent", and // "textfmt". import ( "flag" "fmt" "internal/coverage" "internal/coverage/calloc" "internal/coverage/cformat" "internal/coverage/cmerge"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 11:36:57 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/covdata/tool_test.go
// data file and a counter file. If we get more than just this one // pair, something went wrong. podlist, err := pods.CollectPods([]string{outdir}, true) if err != nil { t.Fatal(err) } if len(podlist) != 1 { t.Fatalf("expected 1 pod, got %d pods", len(podlist)) } ncdfs := len(podlist[0].CounterDataFiles) if ncdfs != 1 { t.Fatalf("expected 1 counter data file, got %d", ncdfs) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 20:46:32 UTC 2024 - 24.5K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
tmpRefFlags goobj.RefFlags tmpRefName goobj.RefName } // prepare package index list func (w *writer) init() { w.pkglist = make([]string, len(w.ctxt.pkgIdx)+1) w.pkglist[0] = "" // dummy invalid package for index 0 for pkg, i := range w.ctxt.pkgIdx { w.pkglist[i] = pkg } } func (w *writer) writeFile(ctxt *Link, file *FileInfo) { f, err := os.Open(file.Name) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0) -
src/go/internal/gcimporter/iimport.go
// Special handling for "any", whose representation may be changed by the // gotypesalias GODEBUG variable. p.typCache[uint64(len(predeclared))] = types.Universe.Lookup("any").Type() pkgList := make([]*types.Package, r.uint64()) for i := range pkgList { pkgPathOff := r.uint64() pkgPath := p.stringAt(pkgPathOff) pkgName := p.stringAt(r.uint64()) _ = r.uint64() // package height; unused by go/types if pkgPath == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.2K bytes - Viewed (0) -
src/cmd/covdata/doc.go
$ go tool covdata percent -i=profiledir cov-example/p coverage: 41.1% of statements main coverage: 87.5% of statements $ 2. Report import paths of packages profiled $ go tool covdata pkglist -i=profiledir cov-example/p main $ 3. Report percent statements covered by function: $ go tool covdata func -i=profiledir cov-example/p/p.go:12: emptyFn 0.0% cov-example/p/p.go:32: Small 100.0%
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 03 12:57:25 UTC 2023 - 2K bytes - Viewed (0) -
src/cmd/internal/goobj/objfile.go
for i := range s { s[i].Pkg = r.StringRef(off) copy(s[i].Fingerprint[:], r.BytesAt(off+stringRefSize, len(s[i].Fingerprint))) off += importedPkgSize } return s } func (r *Reader) Pkglist() []string { n := (r.h.Offsets[BlkPkgIdx+1] - r.h.Offsets[BlkPkgIdx]) / stringRefSize s := make([]string, n) off := r.h.Offsets[BlkPkgIdx] for i := range s { s[i] = r.StringRef(off) off += stringRefSize
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 23.8K bytes - Viewed (0) -
src/cmd/internal/obj/plist.go
"cmd/internal/src" "fmt" "internal/abi" "strings" ) type Plist struct { Firstpc *Prog Curfn Func } // ProgAlloc is a function that allocates Progs. // It is used to provide access to cached/bulk-allocated Progs to the assemblers. type ProgAlloc func() *Prog func Flushplist(ctxt *Link, plist *Plist, newprog ProgAlloc) { if ctxt.Pkgpath == "" { panic("Flushplist called without Pkgpath") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 11.5K bytes - Viewed (0)