Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for GetEnv (0.17 sec)

  1. src/cmd/dist/build.go

    	// For tools being invoked but also for os.ExpandEnv.
    	os.Setenv("GO386", go386)
    	os.Setenv("GOAMD64", goamd64)
    	os.Setenv("GOARCH", goarch)
    	os.Setenv("GOARM", goarm)
    	os.Setenv("GOARM64", goarm64)
    	os.Setenv("GOHOSTARCH", gohostarch)
    	os.Setenv("GOHOSTOS", gohostos)
    	os.Setenv("GOOS", goos)
    	os.Setenv("GOMIPS", gomips)
    	os.Setenv("GOMIPS64", gomips64)
    	os.Setenv("GOPPC64", goppc64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. src/cmd/go/go_test.go

    	// We set CMDGO_TEST_RUN_MAIN via os.Setenv and testScript.setup.
    	if os.Getenv("CMDGO_TEST_RUN_MAIN") != "" {
    		cfg.SetGOROOT(cfg.GOROOT, true)
    		gover.TestVersion = os.Getenv("TESTGO_VERSION")
    		toolchain.TestVersionSwitch = os.Getenv("TESTGO_VERSION_SWITCH")
    		if v := os.Getenv("TESTGO_TOOLCHAIN_VERSION"); v != "" {
    			work.ToolchainVersion = v
    		}
    
    		if testGOROOT := os.Getenv("TESTGO_GOROOT"); testGOROOT != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  3. src/cmd/dist/test.go

    	fn      func(*distTest) error
    }
    
    func (t *tester) run() {
    	timelog("start", "dist test")
    
    	os.Setenv("PATH", fmt.Sprintf("%s%c%s", gorootBin, os.PathListSeparator, os.Getenv("PATH")))
    
    	t.short = true
    	if v := os.Getenv("GO_TEST_SHORT"); v != "" {
    		short, err := strconv.ParseBool(v)
    		if err != nil {
    			fatalf("invalid GO_TEST_SHORT %q: %v", v, err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

    	c.mustListObjects(ctx, lisaClient, "projectaorb")
    	c.mustNotListObjects(ctx, lisaClient, "other")
    }
    
    func TestIAMWithOpenIDMultipleConfigsValidation1(t *testing.T) {
    	openIDServer := os.Getenv(EnvTestOpenIDServer)
    	openIDServer2 := os.Getenv(EnvTestOpenIDServer2)
    	if openIDServer == "" || openIDServer2 == "" {
    		t.Skip("Skipping OpenID test as enough OpenID servers are not provided.")
    	}
    	testApps := testClientApps
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/init.go

    	// assume they know what they are doing and don't step on it.
    	// But default to turning off ControlMaster.
    	if os.Getenv("GIT_SSH") == "" && os.Getenv("GIT_SSH_COMMAND") == "" {
    		os.Setenv("GIT_SSH_COMMAND", "ssh -o ControlMaster=no -o BatchMode=yes")
    	}
    
    	if os.Getenv("GCM_INTERACTIVE") == "" {
    		os.Setenv("GCM_INTERACTIVE", "never")
    	}
    	if modRoots != nil {
    		// modRoot set before Init was called ("go mod init" does this).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  6. cmd/kubelet/app/server.go

    	// To help debugging, immediately log version
    	klog.InfoS("Kubelet version", "kubeletVersion", version.Get())
    
    	klog.InfoS("Golang settings", "GOGC", os.Getenv("GOGC"), "GOMAXPROCS", os.Getenv("GOMAXPROCS"), "GOTRACEBACK", os.Getenv("GOTRACEBACK"))
    
    	if err := initForOS(s.KubeletFlags.WindowsService, s.KubeletFlags.WindowsPriorityClass); err != nil {
    		return fmt.Errorf("failed OS init: %w", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  7. src/os/os_test.go

    	t.Parallel()
    
    	var dir, cmd string
    	var args []string
    	switch runtime.GOOS {
    	case "android":
    		t.Skip("android doesn't have /bin/pwd")
    	case "windows":
    		cmd = Getenv("COMSPEC")
    		dir = Getenv("SystemRoot")
    		args = []string{"/c", "cd"}
    	default:
    		var err error
    		cmd, err = exec.LookPath("pwd")
    		if err != nil {
    			t.Fatalf("Can't find pwd: %v", err)
    		}
    		dir = "/"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  8. src/cmd/internal/testdir/testdir_test.go

    		// affect other settings we get from go env (notably CGO_ENABLED).
    		goos, goarch, ok := strings.Cut(*target, "/")
    		if !ok {
    			t.Fatalf("bad -target flag %q, expected goos/goarch", *target)
    		}
    		t.Setenv("GOOS", goos)
    		t.Setenv("GOARCH", goarch)
    	}
    
    	goTool = testenv.GoToolPath(t)
    	cmd := exec.Command(goTool, "env", "-json")
    	stdout, err := cmd.StdoutPipe()
    	if err != nil {
    		t.Fatal("StdoutPipe:", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy

            file("build.gradle") << """
                buildDir = 'out'
                tasks.register('doIt') {
                    // just so we had something for the CC report,
                    System.getenv('JAVA_HOME')
                    doLast {
                        println("Done")
                    }
                }
            """
    
            when:
            run(ENABLE_CLI_OPT, '--warn', 'doIt')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

      // empty string rather than unset (NULL).  Handle that case.
      const char* const env = getenv(name);
      return (env != NULL && env[0] != '\0') ? env : NULL;
    #else
      return getenv(name);
    #endif
    }
    
    #ifdef _MSC_VER
    # pragma warning(pop)  // Restores the warning state.
    #endif
    
    #if GTEST_OS_WINDOWS_MOBILE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
Back to top