Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 365 for gopark (0.32 sec)

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

    [!symlink] skip
    
    symlink $WORK/gopath/src/sym -> $WORK/gopath/src/tree
    symlink $WORK/gopath/src/tree/squirrel -> $WORK/gopath/src/dir2 # this symlink should not be followed
    cd sym
    go list ./...
    cmp stdout $WORK/gopath/src/want_list.txt
    -- tree/go.mod --
    module example.com/tree
    
    go 1.20
    -- tree/tree.go --
    package tree
    -- tree/branch/branch.go --
    package branch
    -- dir2/squirrel.go --
    package squirrel
    -- want_list.txt --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:05 UTC 2023
    - 463 bytes
    - Viewed (0)
  2. src/cmd/go/internal/workcmd/init.go

    	modload.InitWorkfile()
    
    	modload.ForceUseModules = true
    
    	gowork := modload.WorkFilePath()
    	if gowork == "" {
    		gowork = filepath.Join(base.Cwd(), "go.work")
    	}
    
    	if _, err := fsys.Stat(gowork); err == nil {
    		base.Fatalf("go: %s already exists", gowork)
    	}
    
    	goV := gover.Local() // Use current Go version by default
    	wf := new(modfile.WorkFile)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. buildscripts/minio-upgrade.sh

    	sleep 20
    }
    
    __init__() {
    	sudo apt install curl -y
    	export GOPATH=/tmp/gopath
    	export PATH=${PATH}:${GOPATH}/bin
    
    	go install github.com/minio/mc@latest
    
    	## this is needed because github actions don't have
    	## docker-compose on all runners
    	go install github.com/docker/compose/v2/cmd@latest
    	mv -v /tmp/gopath/bin/cmd /tmp/gopath/bin/docker-compose
    
    	cleanup
    
    	TAG=minio/minio:dev make docker
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_download_concurrent_read.txt

    		if rmErr := os.RemoveAll(tmpDir); err == nil && rmErr != nil {
    			err = rmErr
    		}
    	}()
    	for i := 0; i < 10; i++ {
        gopath := filepath.Join(tmpDir, fmt.Sprintf("gopath%d", i))
    		var err error
    		done := make(chan struct{})
    		go func() {
    			err = download(gopath)
    			close(done)
    		}()
    		readCache(gopath, done)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/vendor_gopath_issue11409.txt

    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() {
    	gopath := changeVolume(os.Args[1], strings.ToLower)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 982 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/env_issue46807.txt

    ! go mod tidy
    stderr '^go: warning: ignoring go.mod in \$GOPATH'
    stderr '^go: go.mod file not found in current directory or any parent directory; see ''go help modules'''
    
    go env
    stdout 'GOPATH='
    stderr '^go: warning: ignoring go.mod in \$GOPATH'
    
    -- $GOPATH/go.mod --
    module bug
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:56:44 UTC 2023
    - 288 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testlife/life_test.go

    	os.Exit(testMain(m))
    }
    
    func testMain(m *testing.M) int {
    	GOPATH, err := os.MkdirTemp("", "cgolife")
    	if err != nil {
    		log.Panic(err)
    	}
    	defer os.RemoveAll(GOPATH)
    	os.Setenv("GOPATH", GOPATH)
    
    	// Copy testdata into GOPATH/src/cgolife, along with a go.mod file
    	// declaring the same path.
    	modRoot := filepath.Join(GOPATH, "src", "cgolife")
    	if err := cgotest.OverlayDir(modRoot, "testdata"); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 20:56:09 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/teststdio/stdio_test.go

    	os.Exit(testMain(m))
    }
    
    func testMain(m *testing.M) int {
    	GOPATH, err := os.MkdirTemp("", "cgostdio")
    	if err != nil {
    		log.Panic(err)
    	}
    	defer os.RemoveAll(GOPATH)
    	os.Setenv("GOPATH", GOPATH)
    
    	// Copy testdata into GOPATH/src/cgostdio, along with a go.mod file
    	// declaring the same path.
    	modRoot := filepath.Join(GOPATH, "src", "cgostdio")
    	if err := cgotest.OverlayDir(modRoot, "testdata"); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 20:56:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_download.txt

    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-pre1.info
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-pre1.mod
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-pre1.zip
    exists $GOPATH/pkg/mod/rsc.io/quote@v1.5.3-pre1
    
    # download repopulates deleted files and directories independently.
    rm $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-pre1.info
    go mod download
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 04 20:42:35 UTC 2021
    - 8.5K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_match_benchmark_labels.txt

    # Benchmark labels, file outside gopath
    # TODO(matloob): This test was called TestBenchmarkLabelsOutsideGOPATH
    # why "OutsideGOPATH"? Does the go command need to be run outside GOPATH?
    # Do the files need to exist outside GOPATH?
    cp $GOPATH/src/standalone_benchmark_test.go $WORK/tmp/standalone_benchmark_test.go
    go test -run '^$' -bench . $WORK/tmp/standalone_benchmark_test.go
    stdout '^goos: '$GOOS
    stdout '^goarch: '$GOARCH
    ! stdout '^pkg:'
    ! stderr '^pkg:'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 19 20:48:08 UTC 2020
    - 577 bytes
    - Viewed (0)
Back to top