Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 251 for GetEnv (0.14 sec)

  1. src/cmd/go/script_test.go

    		homeEnvName() + "=/no-home",
    		"CCACHE_DISABLE=1", // ccache breaks with non-existent HOME
    		"GOARCH=" + runtime.GOARCH,
    		"TESTGO_GOHOSTARCH=" + goHostArch,
    		"GOCACHE=" + testGOCACHE,
    		"GOCOVERDIR=" + os.Getenv("GOCOVERDIR"),
    		"GODEBUG=" + os.Getenv("GODEBUG"),
    		"GOEXE=" + cfg.ExeSuffix,
    		"GOEXPERIMENT=" + os.Getenv("GOEXPERIMENT"),
    		"GOOS=" + runtime.GOOS,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. tensorflow/api_template.__init__.py

      __path__ = [_tf_api_dir]
    elif _tf_api_dir not in __path__:
      __path__.append(_tf_api_dir)
    
    # Hook external TensorFlow modules.
    
    # 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 v2/3.
    _tf_uses_legacy_keras = (
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 06:27:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/android/AndroidHome.groovy

        private static final String ENV_VARIABLE_NAME = "ANDROID_SDK_ROOT"
    
        static void assumeIsSet() {
            assumeThat(NO_ENV_MESSAGE, System.getenv(ENV_VARIABLE_NAME), notNullValue())
        }
    
        static void assertIsSet() {
            assertThat(NO_ENV_MESSAGE, System.getenv(ENV_VARIABLE_NAME), notNullValue())
        }
    
        private static final String NO_ENV_MESSAGE = """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/services/Environment.kt

                listener.systemPropertiesPrefixedBy(prefix, snapshot)
            }
    
        override fun getVariables(): Environment.Properties =
            TrackingProperties(System.getenv()) { prefix, snapshot ->
                listener.envVariablesPrefixedBy(prefix, snapshot)
            }
    
        private
        class TrackingProperties(
            map: Map<String, String>,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise-plugin-performance/src/performanceTest/groovy/org/gradle/performance/BuildScanPluginPerformanceTest.groovy

                                    url '${System.getenv("GRADLE_INTERNAL_REPO_URL")}/enterprise-libs-snapshots-local/'
                                    credentials {
                                        username = System.getenv("GRADLE_INTERNAL_REPO_USERNAME")
                                        password = System.getenv("GRADLE_INTERNAL_REPO_PASSWORD")
                                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 09:04:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/runtime/internal/wasitest/tcpecho_test.go

    	// port when you pre-open a socket. So, we probe for a free port here.
    	// Given there's an unavoidable race condition, the test is disabled by
    	// default.
    	if os.Getenv("GOWASIENABLERACYTEST") != "1" {
    		t.Skip("skipping WASI test with unavoidable race condition")
    	}
    	var host string
    	port := rand.Intn(10000) + 40000
    	for attempts := 0; attempts < 10; attempts++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 22:01:11 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/build_trimpath.txt

    	if err != nil {
    		log.Fatal(err)
    	}
    
    	if os.Getenv("GO111MODULE") == "on" {
    		out, err := exec.Command("go", "env", "GOMOD").Output()
    		if err != nil {
    			log.Fatal(err)
    		}
    		modRoot := filepath.Dir(strings.TrimSpace(string(out)))
    		check(data, "module root", modRoot)
    	} else {
    		check(data, "GOPATH", os.Getenv("GOPATH"))
    	}
    	check(data, "GOROOT", os.Getenv("GOROOT"))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top