Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 251 for GetEnv (0.12 sec)

  1. src/internal/coverage/cfile/emit.go

    	if err != nil {
    		fmt.Fprintf(os.Stderr, "error: coverage meta-data prep failed: %v\n", err)
    		if os.Getenv("GOCOVERDEBUG") != "" {
    			panic("meta-data write failure")
    		}
    	}
    	if len(ml) == 0 {
    		fmt.Fprintf(os.Stderr, "program not built with -cover\n")
    		return
    	}
    
    	goCoverDir = os.Getenv("GOCOVERDIR")
    	if goCoverDir == "" {
    		fmt.Fprintf(os.Stderr, "warning: GOCOVERDIR not set, no coverage data emitted\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. src/internal/testenv/testenv.go

    func Builder() string {
    	return os.Getenv("GO_BUILDER_NAME")
    }
    
    // HasGoBuild reports whether the current system can build programs with “go build”
    // and then run them with os.StartProcess or exec.Command.
    func HasGoBuild() bool {
    	if os.Getenv("GO_GCFLAGS") != "" {
    		// It's too much work to require every caller of the go command
    		// to pass along "-gcflags="+os.Getenv("GO_GCFLAGS").
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. src/cmd/go/internal/cache/default.go

    		os.WriteFile(filepath.Join(dir, "README"), []byte(cacheREADME), 0666)
    	}
    
    	diskCache, err := Open(dir)
    	if err != nil {
    		base.Fatalf("failed to initialize build cache at %s: %s\n", dir, err)
    	}
    
    	if v := cfg.Getenv("GOCACHEPROG"); v != "" && goexperiment.CacheProg {
    		defaultCache = startCacheProg(v, diskCache)
    	} else {
    		defaultCache = diskCache
    	}
    }
    
    var (
    	defaultDirOnce    sync.Once
    	defaultDir        string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/cmd/objdump/objdump_test.go

    	if *target != "" {
    		f := strings.Split(*target, "/")
    		if len(f) != 2 {
    			t.Fatalf("-target argument must be goos/goarch")
    		}
    		defer os.Setenv("GOOS", os.Getenv("GOOS"))
    		defer os.Setenv("GOARCH", os.Getenv("GOARCH"))
    		os.Setenv("GOOS", f[0])
    		os.Setenv("GOARCH", f[1])
    		goarch = f[1]
    	}
    
    	hash := notsha256.Sum256([]byte(fmt.Sprintf("%v-%v-%v-%v", srcfname, flags, printCode, printGnuAsm)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. tools/istio-iptables/pkg/capture/run.go

    	b.WriteString(fmt.Sprintf("ISTIO_OUTBOUND_PORTS=%s\n", os.Getenv("ISTIO_OUTBOUND_PORTS")))
    	b.WriteString(fmt.Sprintf("ISTIO_LOCAL_EXCLUDE_PORTS=%s\n", os.Getenv("ISTIO_LOCAL_EXCLUDE_PORTS")))
    	b.WriteString(fmt.Sprintf("ISTIO_EXCLUDE_INTERFACES=%s\n", os.Getenv("ISTIO_EXCLUDE_INTERFACES")))
    	b.WriteString(fmt.Sprintf("ISTIO_SERVICE_CIDR=%s\n", os.Getenv("ISTIO_SERVICE_CIDR")))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  6. testing/smoke-test/build.gradle.kts

            maxParallelForks = 1 // those tests are pretty expensive, we shouldn't execute them concurrently
            inputs.property("androidHomeIsSet", System.getenv("ANDROID_HOME") != null)
            inputs.property("androidSdkRootIsSet", System.getenv("ANDROID_SDK_ROOT") != null)
    
            if (remoteProjectOutputFiles != null) {
                inputs.files(remoteProjectOutputFiles)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. src/os/exec/lp_windows.go

    		dotf   string
    		dotErr error
    	)
    	if _, found := syscall.Getenv("NoDefaultCurrentDirectoryInExePath"); !found {
    		if f, err := findExecutable(filepath.Join(".", file), exts); err == nil {
    			if execerrdot.Value() == "0" {
    				execerrdot.IncNonDefault()
    				return f, nil
    			}
    			dotf, dotErr = f, &Error{file, ErrDot}
    		}
    	}
    
    	path := os.Getenv("path")
    	for _, dir := range filepath.SplitList(path) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/envcmd/env.go

    		{Name: "GOSUMDB", Value: cfg.GOSUMDB, Changed: cfg.GOSUMDBChanged},
    		{Name: "GOTMPDIR", Value: cfg.Getenv("GOTMPDIR")},
    		{Name: "GOTOOLCHAIN"},
    		{Name: "GOTOOLDIR", Value: build.ToolDir},
    		{Name: "GOVCS", Value: cfg.GOVCS},
    		{Name: "GOVERSION", Value: runtime.Version()},
    		{Name: "GODEBUG", Value: os.Getenv("GODEBUG")},
    		{Name: "GOTELEMETRY", Value: telemetry.Mode()},
    		{Name: "GOTELEMETRYDIR", Value: telemetry.Dir()},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

            }
            if (generatorList != null && !generatorList.isEmpty()) {
                String path = System.getenv("PATH");
                if (path == null) {
                    path = System.getenv("Path");
                }
                if (path == null) {
                    path = System.getenv("path");
                }
                final List<String> pathList = new ArrayList<>();
                pathList.add("/usr/share/fess/bin");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. src/cmd/internal/telemetry/telemetry.go

    )
    
    // Start opens the counter files for writing if telemetry is supported
    // on the current platform (and does nothing otherwise).
    func Start() {
    	telemetry.Start(telemetry.Config{
    		TelemetryDir: os.Getenv("TEST_TELEMETRY_DIR"),
    	})
    }
    
    // StartWithUpload opens the counter files for writing if telemetry
    // is supported on the current platform and also enables a once a day
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top