- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for setenv (0.1 sec)
-
cmd/common-main.go
os.Setenv("CONSOLE_STS_DURATION", valueSts) } else if valueSession := env.Get(config.EnvBrowserSessionDuration, ""); valueSession != "" { os.Setenv("CONSOLE_STS_DURATION", valueSession) } os.Setenv("CONSOLE_MINIO_SITE_NAME", globalSite.Name()) os.Setenv("CONSOLE_MINIO_SITE_REGION", globalSite.Region()) os.Setenv("CONSOLE_MINIO_REGION", globalSite.Region())
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 31.7K bytes - Viewed (0) -
cmd/update_test.go
} os.Unsetenv("MARATHON_APP_LABEL_DCOS_PACKAGE_VERSION") os.Unsetenv(testCase.envName) } } // Tests if the environment we are running is in DCOS. func TestIsDCOS(t *testing.T) { t.Setenv("MESOS_CONTAINER_NAME", "mesos-1111") dcos := IsDCOS() if !dcos { t.Fatalf("Expected %t, got %t", true, dcos) } os.Unsetenv("MESOS_CONTAINER_NAME") dcos = IsDCOS()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 10.4K bytes - Viewed (0) -
api/go1.17.txt
pkg syscall (windows-amd64), type SysProcAttr struct, ParentProcess Handle pkg testing, method (*B) Setenv(string, string) pkg testing, method (*T) Setenv(string, string) pkg testing, type TB interface, Setenv(string, string) pkg text/template/parse, const SkipFuncCheck = 2 pkg text/template/parse, const SkipFuncCheck Mode pkg time, const Layout = "01/02 03:04:05PM '06 -0700"
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 18K bytes - Viewed (0) -
tensorflow/c/eager/c_api_cluster_test.cc
} void TestRemoteExecuteUpdateServerDefWithFailures(bool async) { // Fail fast on GetStatus requests so we can get errors instead of timeout // when updating cluster with non-exsitent worker tensorflow::setenv("GRPC_FAIL_FAST", "TRUE", /*overwrite=*/1); tensorflow::ServerDef server_def = GetServerDef(2); // This server def has the task index set to 0. string serialized = server_def.SerializeAsString();
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 19.2K bytes - Viewed (0) -
internal/config/certs_test.go
if err != nil { os.Remove(privateKey) t.Fatalf("Test %d: failed to create tmp certificate file: %v", i, err) } if testCase.password != "" { t.Setenv(EnvCertPassword, testCase.password) } _, err = LoadX509KeyPair(certificate, privateKey) if err != nil && !testCase.shouldFail { t.Errorf("Test %d: test should succeed but it failed: %v", i, err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 21.6K bytes - Viewed (0) -
api/go1.18.txt
pkg testing, method (*F) Helper() pkg testing, method (*F) Log(...interface{}) pkg testing, method (*F) Logf(string, ...interface{}) pkg testing, method (*F) Name() string pkg testing, method (*F) Setenv(string, string) pkg testing, method (*F) Skip(...interface{}) pkg testing, method (*F) SkipNow() pkg testing, method (*F) Skipf(string, ...interface{}) pkg testing, method (*F) Skipped() bool
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 13K bytes - Viewed (0) -
src/archive/tar/reader_test.go
} default: t.Fatalf("test %d.%d, unknown test operation: %T", i, j, tf) } } } } func TestInsecurePaths(t *testing.T) { t.Setenv("GODEBUG", "tarinsecurepath=0") for _, path := range []string{ "../foo", "/foo", "a/b/../../../c", } { var buf bytes.Buffer tw := NewWriter(&buf) tw.WriteHeader(&Header{
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
src/cmd/cgo/doc.go
non-nil, even if the function call is successful. Unlike normal Go conventions, you should first check whether the call succeeded before checking the error result. For example: n, err := C.setenv(key, value, 1) if n != 0 { // we know the call failed, so it is now valid to use err return err } Calling C function pointers is currently not supported, however you can
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 01 22:52:54 UTC 2024 - 44K bytes - Viewed (0) -
docs/de/docs/advanced/settings.md
Sie könnten zum Beispiel eine Datei `main.py` haben mit: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip | "Tipp" Das zweite Argument für <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> ist der zurückzugebende Defaultwert.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 17.7K bytes - Viewed (0) -
docs/zh/docs/advanced/settings.md
这种做法相当常见,有一个名称,这些环境变量通常放在一个名为 `.env` 的文件中,该文件被称为“dotenv”。 /// tip 以点 (`.`) 开头的文件是 Unix-like 系统(如 Linux 和 macOS)中的隐藏文件。 但是,dotenv 文件实际上不一定要具有确切的文件名。 /// Pydantic 支持使用外部库从这些类型的文件中读取。您可以在<a href="https://docs.pydantic.dev/latest/concepts/pydantic_settings/#dotenv-env-support" class="external-link" target="_blank">Pydantic 设置: Dotenv (.env) 支持</a>中阅读更多相关信息。 /// tip
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.8K bytes - Viewed (0)