Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 251 for GetEnv (0.1 sec)

  1. tensorflow/compiler/jit/xla_activity_logging_listener.cc

        }
    
        return absl::OkStatus();
      }
    
     private:
      bool IsEnabled() {
        static bool result = ComputeIsEnabled();
        return result;
      }
    
      bool ComputeIsEnabled() {
        char* log_xla_activity = getenv("TF_LOG_XLA_ACTIVITY");
        if (log_xla_activity == nullptr) {
          bool enabled_by_default = true;
          return enabled_by_default;
        }
    
        return absl::string_view(log_xla_activity) == "1";
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/argumentproviders/CiEnvironmentProvider.kt

        }
    
        private
        fun collectMirrorUrls(): Map<String, String> =
            // expected env var format: repo1_id:repo1_url,repo2_id:repo2_url,...
            System.getenv("REPO_MIRROR_URLS")?.ifBlank { null }?.split(',')?.associate { nameToUrl ->
                val (name, url) = nameToUrl.split(':', limit = 2)
                name to url
            } ?: emptyMap()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/net/http/cgi/host.go

    	}
    
    	envPath := os.Getenv("PATH")
    	if envPath == "" {
    		envPath = "/bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin"
    	}
    	env = append(env, "PATH="+envPath)
    
    	for _, e := range h.InheritEnv {
    		if v := os.Getenv(e); v != "" {
    			env = append(env, e+"="+v)
    		}
    	}
    
    	for _, e := range osDefaultInheritEnv {
    		if v := os.Getenv(e); v != "" {
    			env = append(env, e+"="+v)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/InstrumentingClassTransform.java

                        return true;
                    } else if (name.equals("getenv")) {
                        if (descriptor.equals(RETURN_STRING_FROM_STRING)) {
                            // System.getenv(String) -> String
                            _LDC(binaryClassNameOf(className));
                            _INVOKESTATIC(INSTRUMENTED_TYPE, "getenv", RETURN_STRING_FROM_STRING_STRING);
                            return true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 01:16:36 UTC 2024
    - 32K bytes
    - Viewed (0)
  5. src/os/exec/lp_plan9.go

    	for _, p := range skip {
    		if strings.HasPrefix(file, p) {
    			err := findExecutable(file)
    			if err == nil {
    				return file, nil
    			}
    			return "", &Error{file, err}
    		}
    	}
    
    	path := os.Getenv("path")
    	for _, dir := range filepath.SplitList(path) {
    		path := filepath.Join(dir, file)
    		if err := findExecutable(path); err == nil {
    			if !filepath.IsAbs(path) {
    				if execerrdot.Value() != "0" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/integration/graph_decompose_pass.cc

    MlirOptimizationPassState GraphDecomposePass::GetPassState(
        const DeviceSet* device_set, const ConfigProto& config_proto,
        const Graph& graph,
        const FunctionLibraryDefinition& function_library) const {
      const char* tfr_lib_env_val = getenv(std::string(kTFRLibEnv).c_str());
      return tfr_lib_env_val != nullptr ? MlirOptimizationPassState::Enabled
                                        : MlirOptimizationPassState::Disabled;
    }
    
    Status GraphDecomposePass::Run(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Feb 25 16:22:36 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. src/syscall/getdirentries_test.go

    		t.Run(fmt.Sprintf("n=%d", count), func(t *testing.T) {
    			testGetdirentries(t, count)
    		})
    	}
    }
    func testGetdirentries(t *testing.T, count int) {
    	if count > 100 && testing.Short() && os.Getenv("GO_BUILDER_NAME") == "" {
    		t.Skip("skipping in -short mode")
    	}
    	d := t.TempDir()
    	var names []string
    	for i := 0; i < count; i++ {
    		names = append(names, fmt.Sprintf("file%03d", i))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. build-logic/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts

    import gradlebuild.basics.gradleProperty
    import org.gradle.api.publish.maven.MavenPublication
    
    plugins {
        id("publishing")
    }
    
    val artifactoryUrl
        get() = System.getenv("GRADLE_INTERNAL_REPO_URL") ?: ""
    
    val artifactoryUserName
        get() = findProperty("artifactoryUserName") as String?
    
    val artifactoryUserPassword
        get() = findProperty("artifactoryUserPassword") as String?
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:58 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/net/conf.go

    	_, localDomainDefined := syscall.Getenv("LOCALDOMAIN")
    	if localDomainDefined || os.Getenv("RES_OPTIONS") != "" || os.Getenv("HOSTALIASES") != "" {
    		confVal.preferCgo = true
    		return
    	}
    
    	// OpenBSD apparently lets you override the location of resolv.conf
    	// with ASR_CONFIG. If we notice that, defer to libc.
    	if runtime.GOOS == "openbsd" && os.Getenv("ASR_CONFIG") != "" {
    		confVal.preferCgo = true
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/MavenInstallation.groovy

            def mvn = findMvnExecutable(home)
            home.isDirectory() && mvn.isFile()
        }
    
        static String probeVersion(File home) {
            def mvn = findMvnExecutable(home)
            def env = System.getenv().findAll { it.key != "M2" && it.key != "M2_HOME" }.collect { "${it.key}=${it.value}" }
            env += "JAVA_HOME=${System.getProperty("java.home")}"
            def process = [mvn.absolutePath, "--version"].execute(env, home)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top