Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 251 for GetEnv (0.19 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

          private var nextId = 1
    
          override fun newThread(runnable: Runnable): Thread {
            return Thread(runnable, "$name-${nextId++}")
          }
        }
      }
    }
    
    fun getEnv(name: String) = System.getenv(name)
    
    val SYSTEM_FILE_SYSTEM = FileSystem.SYSTEM
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. container-tests/build.gradle.kts

    val platform = System.getProperty("okhttp.platform", "jdk9")
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    tasks.withType<Test> {
      useJUnitPlatform()
      onlyIf("By default not in CI") {
        System.getenv("CI") == null
          || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean())
      }
    
      jvmArgs(
        "-Dokhttp.platform=$platform",
      )
    
      if (platform == "loom") {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 17 14:46:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. cmd/kube-apiserver/app/server.go

    	// To help debugging, immediately log version
    	klog.Infof("Version: %+v", version.Get())
    
    	klog.InfoS("Golang settings", "GOGC", os.Getenv("GOGC"), "GOMAXPROCS", os.Getenv("GOMAXPROCS"), "GOTRACEBACK", os.Getenv("GOTRACEBACK"))
    
    	config, err := NewConfig(opts)
    	if err != nil {
    		return err
    	}
    	completed, err := config.Complete()
    	if err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 17:44:20 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/exec/DefaultBuildActionParametersTest.groovy

    import spock.lang.Specification
    
    class DefaultBuildActionParametersTest extends Specification {
    
        def "is serializable"() {
            given:
            def params = new DefaultBuildActionParameters(System.properties, System.getenv(), new File("."), LogLevel.ERROR, true, ClassPath.EMPTY)
            ObjectOutputStream out = new ObjectOutputStream(new ByteArrayOutputStream());
    
            when:
            out.writeObject(params);
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. cni/pkg/cmd/root.go

    		SkipTLSVerify:         viper.GetBool(constants.SkipTLSVerify),
    		K8sServiceProtocol:    os.Getenv("KUBERNETES_SERVICE_PROTOCOL"),
    		K8sServiceHost:        os.Getenv("KUBERNETES_SERVICE_HOST"),
    		K8sServicePort:        os.Getenv("KUBERNETES_SERVICE_PORT"),
    		K8sNodeName:           os.Getenv("KUBERNETES_NODE_NAME"),
    		K8sServiceAccountPath: constants.ServiceAccountPath,
    
    		CNIBinSourceDir:  constants.CNIBinDir,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. testing/internal-testing/src/test/groovy/org/gradle/infra/EnvironmentVariablesPropagationTest.groovy

    import spock.lang.Specification
    
    class EnvironmentVariablesPropagationTest extends Specification {
        def "no sensitive env variables #value propagated to test JVMs"() {
            expect:
            System.getenv().each { k, v ->
                assert !k.toLowerCase().contains(value.toLowerCase())
                assert !v.toLowerCase().contains(value.toLowerCase())
            }
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. src/os/file.go

    	switch runtime.GOOS {
    	case "windows":
    		dir = Getenv("LocalAppData")
    		if dir == "" {
    			return "", errors.New("%LocalAppData% is not defined")
    		}
    
    	case "darwin", "ios":
    		dir = Getenv("HOME")
    		if dir == "" {
    			return "", errors.New("$HOME is not defined")
    		}
    		dir += "/Library/Caches"
    
    	case "plan9":
    		dir = Getenv("home")
    		if dir == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/InetAddressFactory.java

            }
        }
    
        @Nullable
        private InetAddress findOpenshiftAddresses() {
            for (String key : System.getenv().keySet()) {
                if (key.startsWith("OPENSHIFT_") && key.endsWith("_IP")) {
                    String ipAddress = System.getenv(key);
                    logger.debug("OPENSHIFT IP environment variable {} detected. Using IP address {}.", key, ipAddress);
                    try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. test/fixedbugs/issue21317.go

    import "fmt"
    
    func main() {
            n, err := fmt.Println(1)
    }
    `)
    	f.Close()
    	defer os.RemoveAll(f.Name())
    
    	// compile and test output
    	cmd := exec.Command("go", "tool", "compile", "-p=main", "-importcfg="+os.Getenv("STDLIB_IMPORTCFG"), f.Name())
    	out, err := cmd.CombinedOutput()
    	if err == nil {
    		log.Fatalf("expected cmd/compile to fail")
    	}
    	wantErrs := []string{
    		"7:9: declared and not used: n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/classpath/Instrumented.java

        }
    
        // Called by generated code.
        public static String getenv(String key, String consumer) {
            String value = System.getenv(key);
            envVariableQueried(key, value, consumer);
            return value;
        }
    
        // Called by generated code.
        public static Map<String, String> getenv(String consumer) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top