Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 546 for GetEnv (0.11 sec)

  1. src/runtime/testdata/testprogcgo/sigfwd.go

    			fprintf(stderr, "SIGSEGV caught in C unexpectedly\n");
    			exit(1);
    		}
    		fprintf(stdout, "OK\n");
    		exit(0);  // success
    	}
    }
    
    static void __attribute__ ((constructor)) sigsetup(void) {
    	if (getenv("GO_TEST_CGOSIGFWD") == NULL) {
    		return;
    	}
    
    	struct sigaction act;
    
    	memset(&act, 0, sizeof act);
    	act.sa_handler = segvhandler;
    	sigaction(SIGSEGV, &act, NULL);
    }
    */
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 01 17:06:49 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/tutorial/environmentVariables/kotlin/init.gradle.kts

    // Using the Java API
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 62 bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/internal/browser/browser.go

    func Commands() [][]string {
    	var cmds [][]string
    	if exe := os.Getenv("BROWSER"); exe != "" {
    		cmds = append(cmds, []string{exe})
    	}
    	switch runtime.GOOS {
    	case "darwin":
    		cmds = append(cmds, []string{"/usr/bin/open"})
    	case "windows":
    		cmds = append(cmds, []string{"cmd", "/c", "start"})
    	default:
    		if os.Getenv("DISPLAY") != "" {
    			// xdg-open is only for use in a desktop environment.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/cli-runtime/pkg/printers/terminal.go

    	if os.Getenv("TERM") == "dumb" {
    		return false
    	}
    
    	// https://no-color.org/
    	if _, nocolor := os.LookupEnv("NO_COLOR"); nocolor {
    		return false
    	}
    
    	// On Windows WT_SESSION is set by the modern terminal component.
    	// Older terminals have poor support for UTF-8, VT escape codes, etc.
    	if runtime.GOOS == "windows" && os.Getenv("WT_SESSION") == "" {
    		return false
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 15:04:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/valueProviders/envVarsSysPropsDont/groovy/build.gradle

    def jdkLocations = System.getenv().findAll {
        key, _ -> key.startsWith("JDK_")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 84 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/tutorial/environmentVariables/groovy/init.gradle

    // Using the Java API
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 61 bytes
    - Viewed (0)
  10. docs/site-replication/gen-oidc-sts-cred.go

    	"context"
    	"fmt"
    	"log"
    	"net/http"
    	"os"
    
    	cr "github.com/minio/minio-go/v7/pkg/credentials"
    	cmd "github.com/minio/minio/cmd"
    )
    
    func main() {
    	ctx := context.Background()
    
    	endpoint := os.Getenv("MINIO_ENDPOINT")
    	if endpoint == "" {
    		log.Fatalf("Please specify a MinIO server endpoint environment variable like:\n\n\texport MINIO_ENDPOINT=http://localhost:9000")
    	}
    
    	appParams := cmd.OpenIDClientAppParams{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 29 01:27:09 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top