Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for goSpin (0.34 sec)

  1. src/cmd/pack/pack_test.go

    	goBin := testenv.GoToolPath(t)
    	run(goBin, "tool", "compile", "-importcfg="+importcfgfile, "-p=large", "large.go")
    	run(packPath(t), "grc", "large.a", "large.o")
    	testenv.WriteImportcfg(t, importcfgfile, map[string]string{"large": filepath.Join(dir, "large.o")}, "runtime")
    	run(goBin, "tool", "compile", "-importcfg="+importcfgfile, "-p=main", "main.go")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 16:27:35 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  2. src/cmd/dist/buildtool.go

    	defer os.Setenv("GOROOT", os.Getenv("GOROOT"))
    	os.Setenv("GOROOT", goroot_bootstrap)
    
    	defer os.Setenv("GOPATH", os.Getenv("GOPATH"))
    	os.Setenv("GOPATH", workspace)
    
    	defer os.Setenv("GOBIN", os.Getenv("GOBIN"))
    	os.Setenv("GOBIN", "")
    
    	os.Setenv("GOOS", "")
    	os.Setenv("GOHOSTOS", "")
    	os.Setenv("GOARCH", "")
    	os.Setenv("GOHOSTARCH", "")
    
    	// Run Go bootstrap to build binaries.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 23:29:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. src/cmd/internal/moddeps/moddeps_test.go

    	// GO_TEST_SHORT=0 causes it to run this portion of the test.)
    	var modcacheEnv []string
    	{
    		out, err := testenv.Command(t, goBin, "env", "GOMODCACHE").Output()
    		if err != nil {
    			t.Fatalf("%s env GOMODCACHE: %v", goBin, err)
    		}
    		modcacheOk := false
    		if gomodcache := string(bytes.TrimSpace(out)); gomodcache != "" {
    			if _, err := os.Stat(gomodcache); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/build.go

    	ctx, span := trace.StartSpan(ctx, "InstallPackages "+strings.Join(patterns, " "))
    	defer span.Done()
    
    	if cfg.GOBIN != "" && !filepath.IsAbs(cfg.GOBIN) {
    		base.Fatalf("cannot install, GOBIN must be an absolute path")
    	}
    
    	pkgs = omitTestOnly(pkgsFilter(pkgs))
    	for _, p := range pkgs {
    		if p.Target == "" {
    			switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. src/crypto/ecdh/ecdh_test.go

    		}
    		return string(out)
    	}
    
    	goBin := testenv.GoToolPath(t)
    	run(goBin, "build", "-o", "hello.exe", "hello.go")
    	if out := run("./hello.exe"); out != "OK\n" {
    		t.Error("unexpected output:", out)
    	}
    
    	// List all text symbols under crypto/... and make sure there are some for
    	// P384, but none for the other curves.
    	var consistent bool
    	nm := run(goBin, "tool", "nm", "hello.exe")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 18K bytes
    - Viewed (0)
  6. hack/lib/golang.sh

    #   env-var GOPATH points to our local output dir
    #   env-var GOBIN is unset (we want binaries in a predictable place)
    #   env-var PATH includes the local GOPATH
    kube::golang::setup_env() {
      # Even in module mode, we need to set GOPATH for `go build` and `go install`
      # to work.  We build various tools (usually via `go install`) from a lot of
      # scripts.
      #   * We can't just set GOBIN because that does not work on cross-compiles.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/envcmd/env.go

    	envFile, envFileChanged, _ := cfg.EnvFile()
    	env := []cfg.EnvVar{
    		{Name: "GO111MODULE", Value: cfg.Getenv("GO111MODULE")},
    		{Name: "GOARCH", Value: cfg.Goarch, Changed: cfg.Goarch != runtime.GOARCH},
    		{Name: "GOBIN", Value: cfg.GOBIN},
    		{Name: "GOCACHE"},
    		{Name: "GOENV", Value: envFile, Changed: envFileChanged},
    		{Name: "GOEXE", Value: cfg.ExeSuffix},
    
    		// List the raw value of GOEXPERIMENT, not the cleaned one.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/cfg/cfg.go

    }
    
    var (
    	GOROOT string
    
    	// Either empty or produced by filepath.Join(GOROOT, …).
    	GOROOTbin string
    	GOROOTpkg string
    	GOROOTsrc string
    
    	GOBIN                         = Getenv("GOBIN")
    	GOMODCACHE, GOMODCACHEChanged = EnvOrAndChanged("GOMODCACHE", gopathDir("pkg/mod"))
    
    	// Used in envcmd.MkEnv and build ID computations.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. pkg/controller/resourcequota/resource_quota_controller_test.go

    			},
    			expectedActionSet: sets.NewString(
    				strings.Join([]string{"update", "resourcequotas", "status"}, "-"),
    			),
    			items: newTestPodsWithPriorityClasses(),
    		},
    		"matching-priorityclass-scoped-quota-OpIn": {
    			gvr: v1.SchemeGroupVersion.WithResource("pods"),
    			quota: v1.ResourceQuota{
    				ObjectMeta: metav1.ObjectMeta{Name: "quota", Namespace: "testing"},
    				Spec: v1.ResourceQuotaSpec{
    					Hard: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 16:29:33 UTC 2023
    - 42.6K bytes
    - Viewed (0)
  10. src/cmd/go/internal/help/helpdoc.go

    DIR/bin/quux, not DIR/bin/foo/quux. The "foo/" prefix is stripped
    so that you can add DIR/bin to your PATH to get at the
    installed commands. If the GOBIN environment variable is
    set, commands are installed to the directory it names instead
    of DIR/bin. GOBIN must be an absolute path.
    
    Here's an example directory layout:
    
        GOPATH=/home/user/go
    
        /home/user/go/
            src/
                foo/
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top