- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 160 for getenv (0.26 sec)
-
cni/test/install_cni.go
"cni_bin_dir": "/opt/cni/bin", "exclude_namespaces": [ "istio-system" ] } } ` ) func getEnv(key, fallback string) string { if value, ok := os.LookupEnv(key); ok { return value } return fallback } func setEnv(key, value string, t *testing.T) { t.Helper() err := os.Setenv(key, value) if err != nil { t.Fatalf("Couldn't set environment variable, err: %v", err) } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 12.5K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt
project.rootProject.name == "build-logic" -> rootProject.gradle.parent?.rootProject else -> project.gradle.parent?.rootProject } if (gradleRootProject != null && System.getenv("TEAMCITY_VERSION") != null) { val rootProjectName = rootProject.name val isInBuildLogic = rootProjectName == "build-logic" gradle.taskGraph.whenReady {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Apr 24 03:34:53 GMT 2024 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
final String appType = System.getenv(FESS_APP_TYPE); if (StringUtil.isNotBlank(appType)) { return appType; } return StringUtil.EMPTY; } public static OptionalEntity<String> getOverrideConfPath() { if (FESS_APP_DOCKER.equalsIgnoreCase(getAppType())) { final String confPath = System.getenv(FESS_OVERRIDE_CONF_PATH);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.8K bytes - Viewed (0) -
docs/em/docs/advanced/settings.md
๐ผ ๐ ๐ช โ๏ธ ๐ `main.py` โฎ๏ธ: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` !!! tip ๐ฅ โ <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> ๐ข ๐ฒ ๐จ. ๐ฅ ๐ซ ๐, โซ๏ธ `None` ๐ข, ๐ฅ ๐ฅ ๐ `"World"` ๐ข ๐ฒ โ๏ธ. โคด๏ธ ๐ ๐ช ๐ค ๐ ๐ ๐:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java
} public static List<Map<String, String>> getEnvItems() { final List<Map<String, String>> itemList = new ArrayList<>(); for (final Map.Entry<String, String> entry : System.getenv().entrySet()) { itemList.add(createItem(entry.getKey(), entry.getValue())); } return itemList; } public static List<Map<String, String>> getPropItems() {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 8.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
// staleness (seconds) if provided. const char* block_size_env = std::getenv(kBlockSize); if (block_size_env && absl::SimpleAtoi(block_size_env, &value)) { block_size = value * 1024 * 1024; } const char* max_bytes_env = std::getenv(kMaxCacheSize); if (max_bytes_env && absl::SimpleAtoi(max_bytes_env, &value)) { max_bytes = static_cast<size_t>(value * 1024 * 1024);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ActivityHelper.java
logger = LogManager.getLogger(loggerName); final String logFormat = ComponentUtil.getFessConfig().getAppAuditLogFormat(); if (StringUtil.isBlank(logFormat)) { useEcsFormat = "docker".equals(System.getenv("FESS_APP_TYPE")); } else if ("ecs".equals(logFormat)) { useEcsFormat = true; } } public void login(final OptionalThing<FessUserBean> user) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.7K bytes - Viewed (0) -
misc/go_android_exec/main.go
fmt.Fprintf(os.Stderr, "adb %s\n%s", strings.Join(args, " "), out) return err } return nil } func adbCmd(args ...string) *exec.Cmd { if flags := os.Getenv("GOANDROID_ADB_FLAGS"); flags != "" { args = append(strings.Split(flags, " "), args...) } return exec.Command("adb", args...) } const ( deviceRoot = "/data/local/tmp/go_android_exec"
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/SuggestCreator.java
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 10K bytes - Viewed (0)