Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 365 for gopark (0.12 sec)

  1. src/cmd/cgo/internal/testplugin/plugin_test.go

    	// Copy testdata into GOPATH/src/testplugin, along with a go.mod file
    	// declaring the same path.
    
    	GOPATH, err := os.MkdirTemp("", "plugin_test")
    	if err != nil {
    		log.Panic(err)
    	}
    	defer os.RemoveAll(GOPATH)
    	tmpDir = GOPATH
    	fmt.Printf("TMPDIR=%s\n", tmpDir)
    
    	modRoot := filepath.Join(GOPATH, "src", "testplugin")
    	altRoot := filepath.Join(GOPATH, "alt", "src", "testplugin")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. src/runtime/os_freebsd_arm.go

    		print("to GOARM.\n")
    		exit(1)
    	}
    	if goarm > 6 && cpu.HWCap&_HWCAP_VFPv3 == 0 && goarmsoftfp == 0 {
    		print("runtime: this CPU has no VFPv3 floating point hardware, so it cannot run\n")
    		print("a binary compiled for VFPv3 hard floating point. Recompile adding ,softfloat\n")
    		print("to GOARM or changing GOARM to 6.\n")
    		exit(1)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_relative_cmdline.txt

    # Relative imports in command line package
    
    env GO111MODULE=off
    
    # Run tests outside GOPATH.
    env GOPATH=$WORK/tmp
    
    go test ./testimport/p.go ./testimport/p_test.go ./testimport/x_test.go
    stdout '^ok'
    
    -- testimport/p.go --
    package p
    
    func F() int { return 1 }
    -- testimport/p1/p1.go --
    package p1
    
    func F() int { return 1 }
    -- testimport/p2/p2.go --
    package p2
    
    func F() int { return 1 }
    -- testimport/p_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 16 19:10:58 UTC 2022
    - 688 bytes
    - Viewed (0)
  4. src/go/build/build_test.go

    	}
    
    	t.Setenv("GO111MODULE", "on")
    	t.Setenv("GOPATH", gopath)
    	ctxt := Default
    	ctxt.GOPATH = gopath
    	ctxt.Dir = filepath.Join(gopath, "src/example.com/p")
    
    	want := "go.mod file not found in current directory or any parent directory"
    	if _, err := ctxt.Import("example.com/p", gopath, FindOnly); err == nil {
    		t.Fatal("importing package when no go.mod is present succeeded unexpectedly")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_list_replace_dir.txt

    go get
    
    # Ensure v1.5.2 is also in the cache so we can list it.
    go mod download rsc.io/quote@v1.5.2
    
    ! go list $GOPATH/pkg/mod/rsc.io/quote@v1.5.2
    stderr '^directory ..[/\\]pkg[/\\]mod[/\\]rsc.io[/\\]quote@v1.5.2 outside main module or its selected dependencies$'
    
    go list $GOPATH/pkg/mod/rsc.io/quote@v1.5.1
    stdout 'rsc.io/quote'
    
    -- go.mod --
    module example.com/quoter
    
    require rsc.io/quote v1.5.2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 10 19:08:19 UTC 2022
    - 681 bytes
    - Viewed (0)
  6. cmd/build-constants.go

    package cmd
    
    import "runtime"
    
    // DO NOT EDIT THIS FILE DIRECTLY. These are build-time constants
    // set through ‘buildscripts/gen-ldflags.go’.
    var (
    	// GOPATH - GOPATH value at the time of build.
    	GOPATH = ""
    
    	// GOROOT - GOROOT value at the time of build.
    	GOROOT = ""
    
    	// Version - version time.RFC3339.
    	Version = "DEVELOPMENT.GOGET"
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 17:57:52 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. Makefile.core.mk

    export GO111MODULE ?= on
    export GOPROXY ?= https://proxy.golang.org
    export GOSUMDB ?= sum.golang.org
    
    # If GOPATH is not set by the env, set it to a sane value
    GOPATH ?= $(shell cd ${ISTIO_GO}/../../..; pwd)
    export GOPATH
    
    # If GOPATH is made up of several paths, use the first one for our targets in this Makefile
    GO_TOP := $(shell echo ${GOPATH} | cut -d ':' -f1)
    export GO_TOP
    
    GO ?= go
    
    GOARCH_LOCAL := $(TARGET_ARCH)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 02 19:53:04 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  8. src/cmd/go/go_test.go

    	tg.run("env", "GOPATH")
    	tg.grepStdout(regexp.QuoteMeta(tg.path("home/go")), "want GOPATH=$HOME/go")
    
    	tg.setenv("GOROOT", tg.path("home/go"))
    	tg.run("env", "GOPATH")
    	tg.grepStdoutNot(".", "want unset GOPATH because GOROOT=$HOME/go")
    
    	tg.setenv("GOROOT", tg.path("home/go")+"/")
    	tg.run("env", "GOPATH")
    	tg.grepStdoutNot(".", "want unset GOPATH because GOROOT=$HOME/go/")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_import_mod.txt

    # Test that GOPATH/pkg/mod is excluded
    env GO111MODULE=off
    ! go list mod/foo
    stderr 'disallowed import path'
    
    -- mod/foo/foo.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 01 00:35:26 UTC 2018
    - 143 bytes
    - Viewed (0)
  10. hack/lib/golang.sh

      #   * We could leave GOPATH alone and let `go install` write binaries
      #     wherever the user's GOPATH says (or doesn't say).
      #
      # Instead we set it to a phony local path and process the results ourselves.
      # In particular, GOPATH[0]/bin will be used for `go install`, with
      # cross-compiles adding an extra directory under that.
      export GOPATH="${KUBE_GOPATH}"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
Back to top