Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 80 for cgoexp (0.18 sec)

  1. src/cmd/go/testdata/script/vendor_gopath_issue11409.txt

    [!GOOS:windows] [short] stop 'this test only applies to Windows'
    env GO111MODULE=off
    
    go build run_go.go
    exec ./run_go$GOEXE $GOPATH $GOPATH/src/vend/hello
    stdout 'hello, world'
    
    -- run_go.go --
    package main
    
    import (
    	"fmt"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"strings"
    )
    
    func changeVolume(s string, f func(s string) string) string {
    	vol := filepath.VolumeName(s)
    	return f(vol) + s[len(vol):]
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 982 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/devnull.txt

    env GO111MODULE=off
    
    # Issue 28035: go test -c -o NUL should work.
    # Issue 28549: go test -c -o /dev/null should not overwrite /dev/null when run as root.
    cd x
    cmp $devnull $WORK/empty.txt
    go test -o=$devnull -c
    ! exists x.test$GOEXE
    cmp $devnull $WORK/empty.txt
    
    # Issue 12407: go build -o /dev/null should succeed.
    cd ..
    go build -o $devnull y
    cmp $devnull $WORK/empty.txt
    
    -- x/x_test.go --
    package x_test
    import (
        "testing"
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 18 19:03:27 UTC 2019
    - 525 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fuzz_minimize_interesting.txt

    env GOCACHE=$WORK/gocache
    exec ./fuzz.test$GOEXE -test.fuzzcachedir=$GOCACHE/fuzz -test.fuzz=FuzzMinCache -test.fuzztime=1000x
    go run check_cache/check_cache.go $GOCACHE/fuzz/FuzzMinCache
    
    # Test that minimization occurs for a crash that appears while minimizing a
    # newly found interesting input. There must be only one worker for this test to
    # be flaky like we want.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/cgo_stale_precompiled.txt

    # as a control case (to ensure that our regexps do catch rebuilds).
    
    [!short] env GOCACHE=$WORK/cache
    [!short] env CGO_CFLAGS=-DTestScript_cgo_stale_precompiled=true
    go build -x runtime/cgo
    [!short] stderr '[/\\]cgo'$GOEXE'["]? .* -importpath runtime/cgo'
    
    # https://go.dev/issue/47215: a missing $(go env CC) caused the precompiled net
    # to be stale. But as of https://go.dev/cl/452457 the precompiled libraries are
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. src/internal/cfg/cfg.go

    	CGO_LDFLAGS
    	CGO_LDFLAGS_ALLOW
    	CGO_LDFLAGS_DISALLOW
    	CXX
    	FC
    	GCCGO
    	GO111MODULE
    	GO386
    	GOAMD64
    	GOARCH
    	GOARM
    	GOARM64
    	GOBIN
    	GOCACHE
    	GOCACHEPROG
    	GOENV
    	GOEXE
    	GOEXPERIMENT
    	GOFLAGS
    	GOGCCFLAGS
    	GOHOSTARCH
    	GOHOSTOS
    	GOINSECURE
    	GOMIPS
    	GOMIPS64
    	GOMODCACHE
    	GONOPROXY
    	GONOSUMDB
    	GOOS
    	GOPATH
    	GOPPC64
    	GOPRIVATE
    	GOPROXY
    	GORISCV64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 01:33:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/gopath_paths.txt

    stderr 'GOPATH entry is relative'
    
    [short] stop
    
    # Empty paths in GOPATH should be ignored (issue 21928).
    env GOPATH=${:}$ORIG_GOPATH
    env GOPATH
    go install go-cmd-test
    exists $ORIG_GOPATH/bin/go-cmd-test$GOEXE
    
    -- go-cmd-test/helloworld.go --
    package main
    
    func main() {
    	println("hello world")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 18 21:48:52 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_fuzz_seed_corpus.txt

    # the seed corpus before attempting to fuzz.
    
    go test -c
    ! exec ./x.test$GOEXE -test.fuzz=FuzzWithAdd -test.run=FuzzWithAdd -test.fuzztime=1x -test.fuzzcachedir=$WORK/cache
    ! stdout ^ok
    ! stdout 'Failing input written to testdata[/\\]fuzz[/\\]FuzzWithAdd[/\\]'
    stdout FAIL
    stderr warning
    
    go test -c
    ! exec ./x.test$GOEXE -test.fuzz=FuzzWithTestdata -test.run=FuzzWithTestdata -test.fuzztime=1x -test.fuzzcachedir=$WORK/cache
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 19:51:29 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/env_write.txt

    env GOPATH=$root/other
    go env -u GOPATH
    ! stderr .+
    go env -u GOPATH
    ! stderr .+
    
    # go env -w rejects unknown or bad variables
    ! go env -w GOGC=off
    stderr 'unknown go command variable GOGC'
    ! go env -w GOEXE=.bat
    stderr 'GOEXE cannot be modified'
    ! go env -w GOVERSION=customversion
    stderr 'GOVERSION cannot be modified'
    ! go env -w GOENV=/env
    stderr 'GOENV can only be set using the OS environment'
    ! go env -w GODEBUG=gctrace=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:42:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/runtime/race/output_test.go

      main\.main\(\)
          .*/main\.go:34 \+0x[0-9,a-f]+
    
    Previous write at 0x[0-9,a-f]+ by goroutine [0-9]:
      main\.goCallback\(\)
          .*/main\.go:27 \+0x[0-9,a-f]+
      _cgoexp_[0-9a-z]+_goCallback\(\)
          .*_cgo_gotypes\.go:[0-9]+ \+0x[0-9,a-f]+
      _cgoexp_[0-9a-z]+_goCallback\(\)
          <autogenerated>:1 \+0x[0-9,a-f]+
    
    Goroutine [0-9] \(running\) created at:
      runtime\.newextram\(\)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 20:44:25 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/gotoolchain_path.txt

    [short] skip
    
    env TESTGO_VERSION=go1.21pre3
    
    # Compile a fake toolchain to put in the path under various names.
    env GOTOOLCHAIN=
    mkdir $WORK/bin
    go build -o $WORK/bin/go1.50.0$GOEXE ./fakego.go  # adds .exe extension implicitly on Windows
    
    [!GOOS:plan9] env PATH=$WORK/bin
    [GOOS:plan9] env path=$WORK/bin
    
    go version
    stdout go1.21pre3
    
    # GOTOOLCHAIN=go1.50.0
    env GOTOOLCHAIN=go1.50.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 06 22:21:42 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top