Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 546 for GetEnv (0.26 sec)

  1. src/syscall/env_unix.go

    		envs[i] = kv
    	} else {
    		i = len(envs)
    		envs = append(envs, kv)
    	}
    	env[key] = i
    	runtimeSetenv(key, value)
    	return nil
    }
    
    func Clearenv() {
    	envOnce.Do(copyenv) // prevent copyenv in Getenv/Setenv
    
    	envLock.Lock()
    	defer envLock.Unlock()
    
    	for k := range env {
    		runtimeUnsetenv(k)
    	}
    	env = make(map[string]int)
    	envs = []string{}
    }
    
    func Environ() []string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 20:58:35 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. tensorflow/api_template_v1.__init__.py

    # lazy loading.
    _current_module.compat.v2  # pylint: disable=pointless-statement
    
    # Load tensorflow-io-gcs-filesystem if enabled
    if (_os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "true" or
        _os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "1"):
      import tensorflow_io_gcs_filesystem as _tensorflow_io_gcs_filesystem
    
    # Lazy-load Keras v1.
    _tf_uses_legacy_keras = (
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 02:14:00 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc

      std::string path = dir_path.str();
      if (path.empty() || path == kCrashReproducerCrashAnalysis) {
        if (getenv("MLIR_CRASH_REPRODUCER_DIRECTORY"))
          path = getenv("MLIR_CRASH_REPRODUCER_DIRECTORY");
        else if (getenv("TEST_UNDECLARED_OUTPUTS_DIR"))
          path = "sponge";
      }
      if (path.empty()) {
        LOG_FIRST_N(INFO, 1) << "disabling MLIR crash reproducer, set env var "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 03:03:46 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/android/RealLifeAndroidStudioPerformanceTest.groovy

            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
        }
    
        void configureLocalProperties() {
            assert System.getenv("ANDROID_SDK_ROOT") != null
            String androidSdkRootPath = System.getenv("ANDROID_SDK_ROOT")
            runner.addBuildMutator { invocation -> new LocalPropertiesMutator(invocation, FilenameUtils.separatorsToUnix(androidSdkRootPath)) }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/testing/helper_test.go

    // license that can be found in the LICENSE file.
    
    package testing_test
    
    import (
    	"internal/testenv"
    	"os"
    	"regexp"
    	"strings"
    	"testing"
    )
    
    func TestTBHelper(t *testing.T) {
    	if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" {
    		testTestHelper(t)
    
    		// Check that calling Helper from inside a top-level test function
    		// has no effect.
    		t.Helper()
    		t.Error("8")
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:24:47 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. src/runtime/debug/stack_test.go

    	"runtime"
    	"runtime/debug"
    	. "runtime/debug"
    	"strings"
    	"testing"
    )
    
    func TestMain(m *testing.M) {
    	switch os.Getenv("GO_RUNTIME_DEBUG_TEST_ENTRYPOINT") {
    	case "dumpgoroot":
    		fmt.Println(runtime.GOROOT())
    		os.Exit(0)
    
    	case "setcrashoutput":
    		f, err := os.Create(os.Getenv("CRASHOUTPUT"))
    		if err != nil {
    			log.Fatal(err)
    		}
    		if err := SetCrashOutput(f, debug.CrashOptions{}); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/BuildEnvironmentCrossVersionSpec.groovy

            given:
            toolingApi.requireDaemons() //cannot be run in embedded mode
    
            buildFile << """
                task printEnv() {
                    doLast {
                        println "<" + System.getenv() + ">"
                    }
                }"""
    
            when:
            ByteArrayOutputStream out = new ByteArrayOutputStream()
            withConnection { ProjectConnection connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/tutorial/environmentVariables/groovy/settings.gradle

    // Using the Java API
    println System.getenv('ENVIRONMENTAL')
    
    // Using the Gradle API, provides a lazy Provider<String>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 181 bytes
    - Viewed (0)
  9. pkg/util/coverage/coverage.go

    	// or if it's empty we just use a default in /tmp
    	coverageFile = os.Getenv("KUBE_COVERAGE_FILE")
    	if coverageFile == "" {
    		coverageFile = "/tmp/k8s-" + name + ".cov"
    	}
    	fmt.Println("Dumping coverage information to " + coverageFile)
    
    	flushInterval := 5 * time.Second
    	requestedInterval := os.Getenv("KUBE_COVERAGE_FLUSH_INTERVAL")
    	if requestedInterval != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 21:00:21 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/buildCache/developer-ci-setup/groovy/settings.gradle

    rootProject.name = 'developer-ci-setup'
    
    // tag::developer-ci-setup[]
    boolean isCiServer = System.getenv().containsKey("CI")
    
    buildCache {
        remote(HttpBuildCache) {
            url = 'https://example.com:8123/cache/'
            push = isCiServer
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 279 bytes
    - Viewed (0)
Back to top