- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 629 for getInf (0.13 sec)
-
platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/processenvironment/ProcessEnvironmentTest.groovy
then: System.getenv("TEST_ENV_1") == "value" System.getenv("TEST_ENV_2") == "value" when: env.removeEnvironmentVariable("TEST_ENV_1") env.maybeRemoveEnvironmentVariable("TEST_ENV_2") then: System.getenv("TEST_ENV_1") == null System.getenv("TEST_ENV_2") == null } @Requires(UnitTestPreconditions.WorkingDir)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/valueProviders/envVarsSysPropsDo/groovy/build.gradle
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 177 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/buildCache/conditional-action/groovy/build.gradle
plugins { id('java-library') } // tag::conditionalAction[] if (System.getenv().containsKey("CI")) { tasks.withType(Test).configureEach { doFirst { println "Running test on CI" } } } // end::conditionalAction[] // tag::unconditionalAction[] tasks.withType(Test).configureEach { doFirst { if (System.getenv().containsKey("CI")) { println "Running test on CI" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 471 bytes - Viewed (0) -
pkg/tracing/tracing.go
func newExporter() (trace.SpanExporter, error) { set := os.Getenv("OTEL_TRACES_EXPORTER") == "otlp" || os.Getenv("OTEL_EXPORTER_OTLP_ENDPOINT") != "" || os.Getenv("OTEL_EXPORTER_OTLP_TRACES_ENDPOINT") != "" if !set { return nil, nil } proto := os.Getenv("OTEL_EXPORTER_OTLP_TRACES_PROTOCOL") if proto == "" { proto = os.Getenv("OTEL_EXPORTER_OTLP_PROTOCOL") } if proto == "" { proto = "grpc" }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 26 01:07:39 UTC 2023 - 3.9K bytes - Viewed (0) -
src/syscall/syscall_test.go
err := syscall.Setenv(key, value) if err != nil { t.Fatalf("Setenv failed to set %q: %v", value, err) } newvalue, found := syscall.Getenv(key) if !found { t.Fatalf("Getenv failed to find %v variable (want value %q)", key, value) } if newvalue != value { t.Fatalf("Getenv(%v) = %q; want %q", key, newvalue, value) } } func TestEnv(t *testing.T) { testSetGetenv(t, "TESTENV", "AVALUE")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Mar 14 17:56:50 UTC 2021 - 1.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/plan9/env_plan9.go
// license that can be found in the LICENSE file. // Plan 9 environment variables. package plan9 import ( "syscall" ) func Getenv(key string) (value string, found bool) { return syscall.Getenv(key) } func Setenv(key, value string) error { return syscall.Setenv(key, value) } func Clearenv() { syscall.Clearenv() } func Environ() []string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 15 19:02:39 UTC 2021 - 555 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/buildCache/conditional-action/kotlin/build.gradle.kts
id("java-library") } // tag::conditionalAction[] if ("CI" in System.getenv()) { tasks.withType<Test>().configureEach { doFirst { println("Running test on CI") } } } // end::conditionalAction[] // tag::unconditionalAction[] tasks.withType<Test>().configureEach { doFirst { if ("CI" in System.getenv()) { println("Running test on CI") } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 457 bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/mvnsettings/DefaultLocalMavenRepositoryLocator.java
String getEnv(String name); } public static class CurrentSystemPropertyAccess implements SystemPropertyAccess { @Override public String getProperty(String name) { return System.getProperty(name); } @Override public String getEnv(String name) { return System.getenv(name); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.9K bytes - Viewed (0) -
src/runtime/testdata/testsuid/main.go
package main import ( "fmt" "log" "os" ) func main() { if os.Geteuid() == os.Getuid() { os.Exit(99) } fmt.Fprintf(os.Stdout, "GOTRACEBACK=%s\n", os.Getenv("GOTRACEBACK")) f, err := os.OpenFile(os.Getenv("TEST_OUTPUT"), os.O_CREATE|os.O_RDWR, 0600) if err != nil { log.Fatalf("os.Open failed: %s", err) } defer f.Close() fmt.Fprintf(os.Stderr, "hello\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 534 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/valueProviders/envVarsSysPropsDo/kotlin/build.gradle.kts
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 177 bytes - Viewed (0)