- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 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/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/covdata/tool_test.go
} } func testPkgList(t *testing.T, s state) { dargs := []string{"-i=" + s.outdirs[0] + "," + s.outdirs[1]} lines := runToolOp(t, s, "pkglist", dargs) want := []string{mainPkgPath, mainPkgPath + "/dep"} bad := false if len(lines) != 2 { t.Errorf("expect pkglist to return two lines") bad = true } else { for i := 0; i < 2; i++ { lines[i] = strings.TrimSpace(lines[i]) if want[i] != lines[i] {
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/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) -
test-site/activator-launch-1.3.2.jar
specific language governing permissions and limitations # * under the License. # ********** OSGI_MINIMUM-1.0.pkglist = OSGI_MINIMUM-1.1.extends = OSGI_MINIMUM-1.0 OSGI_MINIMUM-1.1.pkglist = CDC-1.0_Foundation-1.0.pkglist = \ javax.microedition.io CDC-1.1_Foundation-1.1.extends = CDC-1.0_Foundation-1.0 CDC-1.1_Foundation-1.1.pkglist = \ javax.microedition.pki,\ javax.security.auth.x500 J2SE-1.2.pkglist = \ javax.accessibility,\ javax.swing,\ javax.swing.border,\ javax.swing.colorchooser,\ javax.swing.event,\...
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Mon Apr 20 08:41:37 UTC 2015 - 1.2M bytes - Viewed (1)