Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 171 for cgodata (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s

    DATA	·libc_bind_trampoline_addr(SB)/8, $libc_bind_trampoline<>(SB)
    
    TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0
    	CALL	libc_connect(SB)
    	RET
    GLOBL	·libc_connect_trampoline_addr(SB), RODATA, $8
    DATA	·libc_connect_trampoline_addr(SB)/8, $libc_connect_trampoline<>(SB)
    
    TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0
    	CALL	libc_socket(SB)
    	RET
    GLOBL	·libc_socket_trampoline_addr(SB), RODATA, $8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/sym/symkind.go

    	STYPE
    	SSTRING
    	SGOSTRING
    	SGOFUNC
    	SGCBITS
    	SRODATA
    	SFUNCTAB
    
    	SELFROSECT
    
    	// Read-only sections with relocations.
    	//
    	// Types STYPE-SFUNCTAB above are written to the .rodata section by default.
    	// When linking a shared object, some conceptually "read only" types need to
    	// be written to by relocations and putting them in a section called
    	// ".rodata" interacts poorly with the system linkers. The GNU linkers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/cmd/covdata/merge.go

    func (m *mstate) Usage(msg string) {
    	if len(msg) > 0 {
    		fmt.Fprintf(os.Stderr, "error: %s\n", msg)
    	}
    	fmt.Fprintf(os.Stderr, "usage: go tool covdata merge -i=<directories> -o=<dir>\n\n")
    	flag.PrintDefaults()
    	fmt.Fprintf(os.Stderr, "\nExamples:\n\n")
    	fmt.Fprintf(os.Stderr, "  go tool covdata merge -i=dir1,dir2,dir3 -o=outdir\n\n")
    	fmt.Fprintf(os.Stderr, "  \tmerges all files in dir1/dir2/dir3\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:37 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/webhook/client.go

    		cfg.QPS = -1
    
    		// Combine CAData from the config with any existing CA bundle provided
    		if len(cfg.TLSClientConfig.CAData) > 0 {
    			cfg.TLSClientConfig.CAData = append(cfg.TLSClientConfig.CAData, '\n')
    		}
    		cfg.TLSClientConfig.CAData = append(cfg.TLSClientConfig.CAData, cc.CABundle...)
    
    		cfg.ContentConfig.NegotiatedSerializer = cm.negotiatedSerializer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 09:09:10 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top