Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for cgodata (0.86 sec)

  1. src/cmd/link/internal/ld/link.go

    	tramps []loader.Sym // trampolines
    
    	compUnits []*sym.CompilationUnit // DWARF compilation units
    	runtimeCU *sym.CompilationUnit   // One of the runtime CUs, the last one seen.
    
    	loader  *loader.Loader
    	cgodata []cgodata // cgo directives to load, three strings are args for loadcgo
    
    	datap  []loader.Sym
    	dynexp []loader.Sym
    
    	// Elf symtab variables.
    	numelfsym int // starts at 0, 1 is reserved
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:22 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  2. src/cmd/nm/nm_test.go

    			syms = append(syms, symType{"D", "_cgodata", true, false})
    			syms = append(syms, symType{"T", "_cgofunc", true, false})
    		} else if runtime.GOOS == "aix" {
    			syms = append(syms, symType{"D", "cgodata", true, false})
    			syms = append(syms, symType{"T", ".cgofunc", true, false})
    		} else {
    			syms = append(syms, symType{"D", "cgodata", true, false})
    			syms = append(syms, symType{"T", "cgofunc", true, false})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 23:32:34 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  3. src/cmd/covdata/covdata.go

    	}
    
    	// Edit out command selector, then parse flags.
    	os.Args = append(os.Args[:1], os.Args[2:]...)
    	flag.Usage = func() {
    		op.Usage("")
    	}
    	flag.Parse()
    	telemetry.Inc("covdata/invocations")
    	telemetry.CountFlags("covdata/flag:", *flag.CommandLine)
    
    	// Mode-independent flag setup
    	dbgtrace(1, "starting mode-independent setup")
    	if flag.NArg() != 0 {
    		op.Usage("unknown extra arguments")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/cmd/covdata/doc.go

    	covmeta.cce1b350af34b6d0fb59cc1725f0ee27
    	$
    
    Run covdata via "go tool covdata <mode>", where 'mode' is a subcommand
    selecting a specific reporting, merging, or data manipulation operation.
    Descriptions on the various modes (run "go tool cover <mode> -help" for
    specifics on usage of a given mode):
    
    1. Report percent of statements covered in each profiled package
    
    	$ go tool covdata percent -i=profiledir
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 12:57:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cover_build_simple.txt

    exec ./example.exe normal
    ! stderr '^warning: GOCOVERDIR not set, no coverage data emitted'
    go tool covdata percent -i=data/normal
    stdout  'coverage:.*[1-9][0-9.]+%'
    
    # Program makes a direct call to os.Exit(0).
    env GOCOVERDIR=data/goodexit
    exec ./example.exe goodexit
    ! stderr '^warning: GOCOVERDIR not set, no coverage data emitted'
    go tool covdata percent -i=data/goodexit
    stdout  'coverage:.*[1-9][0-9.]+%'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/cover_build_pkg_select.txt

    exec $WORK/modex.exe
    
    # Restore previous GOCOVERDIR setting
    env GOCOVERDIR=$SAVEGOCOVERDIR
    
    # Examine the result.
    go tool covdata percent -i=$WORK/covdata
    stdout  'coverage:.*[1-9][0-9.]+%'
    
    # The whole enchilada.
    go tool covdata textfmt -i=$WORK/covdata -o=$WORK/covdata/out.txt
    grep 'mode: set' $WORK/covdata/out.txt
    grep 'mod.example/main/main.go:' $WORK/covdata/out.txt
    grep 'mod.example/sub/sub.go:' $WORK/covdata/out.txt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_race_install_cgo.txt

    # Tests Issue #10500
    
    [!race] skip
    
    env GOBIN=$WORK/bin
    go install m/mtime m/sametime
    
    go tool -n cgo
    cp stdout cgopath.txt
    exec $GOBIN/mtime cgopath.txt # get the mtime of the file whose name is in cgopath.txt
    cp stdout cgotime_before.txt
    
     # For this test, we don't actually care whether 'go test -race -i' succeeds.
     # It may fail if GOROOT is read-only (perhaps it was installed as root).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 27 14:03:15 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/x86/pcrelative_test.go

    	"path/filepath"
    	"testing"
    )
    
    const asmData = `
    GLOBL zeros<>(SB),8,$64
    TEXT ·testASM(SB),4,$0
    VMOVUPS zeros<>(SB), %s // PC relative relocation is off by 1, for Y8-Y15, Z8-15 and Z24-Z31
    RET
    `
    
    const goData = `
    package main
    
    func testASM()
    
    func main() {
    	testASM()
    }
    `
    
    func objdumpOutput(t *testing.T, mname, source string) []byte {
    	tmpdir, err := os.MkdirTemp("", mname)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 23:16:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/cover_build_cmdline_pkgs.txt

    # Collect a coverage profile from running 'cmd/nm' on the object.
    mkdir $WORK/covdata
    env GOCOVERDIR=$WORK/covdata
    exec $WORK/nm.exe tiny.o
    
    # 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
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:17 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cover_main_import_path.txt

    go build -cover -o $WORK/prog.exe .
    
    # Save off old GOCOVERDIR setting
    env SAVEGOCOVERDIR=$GOCOVERDIR
    
    mkdir $WORK/covdata
    env GOCOVERDIR=$WORK/covdata
    exec $WORK/prog.exe
    
    # Restore previous GOCOVERDIR setting
    env GOCOVERDIR=$SAVEGOCOVERDIR
    
    # Report percent lines covered.
    go tool covdata percent -i=$WORK/covdata
    stdout '\s*mainwithtest\s+coverage:'
    ! stdout 'main\s+coverage:'
    
    # Go test -cover should behave the same way.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:17 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top