Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 365 for gopark (1.42 sec)

  1. src/cmd/go/internal/work/build_test.go

    		},
    	}
    	for _, data := range testData {
    		func() {
    			if data.rootedAt != "" {
    				tmpGopath, err := os.MkdirTemp("", "gopath")
    				if err != nil {
    					t.Fatal(err)
    				}
    				cwd := base.Cwd()
    				oldGopath := cfg.BuildContext.GOPATH
    				defer func() {
    					cfg.BuildContext.GOPATH = oldGopath
    					os.Chdir(cwd)
    					err := os.RemoveAll(tmpGopath)
    					if err != nil {
    						t.Error(err)
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_fullpath.txt

    [short] skip
    
    # test with -fullpath
    ! go test ./x/... -fullpath
    stdout '^ +.+/gopath/src/x/fullpath/fullpath_test.go:8: test failed'
    # test without -fullpath
    ! go test ./x/...
    stdout '^ +fullpath_test.go:8: test failed'
    
    -- go.mod --
    module example
    -- x/fullpath/fullpath_test.go --
    package fullpath_test
    
    import (
    	"testing"
    )
    
    func TestFullPath(t *testing.T) {
    	t.Error("test failed")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 16:42:04 UTC 2023
    - 389 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/install_shadow_gopath.txt

    # Tests Issue #3562
    # go get foo.io (not foo.io/subdir) was not working consistently.
    
    env GO111MODULE=off
    env GOPATH=$WORK/gopath1${:}$WORK/gopath2
    
    mkdir $WORK/gopath1/src/test
    mkdir $WORK/gopath2/src/test
    cp main.go $WORK/gopath2/src/test/main.go
    cd $WORK/gopath2/src/test
    
    ! go install
    stderr 'no install location for.*gopath2.src.test: hidden by .*gopath1.src.test'
    
    -- main.go --
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 415 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/gcflags_patterns.txt

    stderr 'link.* -X=math.pi=3'
    
    # -ldflags applies to current directory
    cd my/cmd/prog
    go build -a -n -ldflags=-X=math.pi=3
    stderr 'link.* -X=math.pi=3'
    
    # -ldflags applies to current directory even if GOPATH is funny
    [!case-sensitive] cd $WORK/GoPath/src/my/cmd/prog
    go build -a -n -ldflags=-X=math.pi=3
    stderr 'link.* -X=math.pi=3'
    
    # cgo.a should not be a dependency of internally-linked go package
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 21 14:58:44 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. build/build-image/Dockerfile

    # Add system-wide git user information
    RUN git config --system user.email "******@****.***" \
      && git config --system user.name "kube-build-image"
    
    # Fix permissions on gopath
    RUN chmod -R a+rwx $GOPATH
    
    # Make log messages use the right timezone
    ADD localtime /etc/localtime
    RUN chmod a+r /etc/localtime
    
    # Set up rsyncd
    ADD rsyncd.password /
    RUN chmod a+r /rsyncd.password
    ADD rsyncd.sh /
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 05 23:26:09 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_graph.txt

    env GO111MODULE=on
    
    go mod graph
    stdout '^m rsc.io/quote@v1.5.2$'
    stdout '^rsc.io/quote@v1.5.2 rsc.io/sampler@v1.3.0$'
    ! stdout '^m rsc.io/sampler@v1.3.0$'
    ! stderr 'get '$GOPROXY
    
    rm $GOPATH/pkg/mod/cache/download/rsc.io/quote
    go mod graph -x
    stderr 'get '$GOPROXY
    
    -- go.mod --
    module m
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 21:10:42 UTC 2022
    - 317 bytes
    - Viewed (0)
  7. src/runtime/os_windows_arm.go

    func cputicks() int64 {
    	var counter int64
    	stdcall1(_QueryPerformanceCounter, uintptr(unsafe.Pointer(&counter)))
    	return counter
    }
    
    func checkgoarm() {
    	if goarm < 7 {
    		print("Need atomic synchronization instructions, coprocessor ",
    			"access instructions. Recompile using GOARM=7.\n")
    		exit(1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 20 00:23:03 UTC 2018
    - 511 bytes
    - Viewed (0)
  8. misc/go_android_exec/main.go

    	deviceGopath := deviceGotmp + "/gopath"
    	defer adb("exec-out", "rm", "-rf", deviceGotmp) // Clean up.
    
    	// Determine the package by examining the current working
    	// directory, which will look something like
    	// "$GOROOT/src/mime/multipart" or "$GOPATH/src/golang.org/x/mobile".
    	// We extract everything after the $GOROOT or $GOPATH to run on the
    	// same relative directory on the target device.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. src/runtime/os_netbsd_arm.go

    	// TODO(minux): FP checks like in os_linux_arm.go.
    
    	// osinit not called yet, so ncpu not set: must use getncpu directly.
    	if getncpu() > 1 && goarm < 7 {
    		print("runtime: this system has multiple CPUs and must use\n")
    		print("atomic synchronization instructions. Recompile using GOARM=7.\n")
    		exit(1)
    	}
    }
    
    //go:nosplit
    func cputicks() int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_retract_replace.txt

    go get
    
    # The latest version, v1.9.0, is not available on the proxy.
    go list -m -retracted example.com/retract/missingmod
    stdout '^example.com/retract/missingmod v1.0.0$'
    exists $GOPATH/pkg/mod/cache/download/example.com/retract/missingmod/@v/v1.9.0.info
    ! exists $GOPATH/pkg/mod/cache/download/example.com/retract/missingmod/@v/v1.9.0.mod
    
    # If we replace that version, we should see retractions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2K bytes
    - Viewed (0)
Back to top