- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 184 for getenv (0.05 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilCommon.kt
* limitations under the License. */ package okhttp3 import okio.Buffer import okio.Path import okio.Path.Companion.toPath val okHttpRoot: Path get() = getEnv("OKHTTP_ROOT")!!.toPath() fun String(vararg codePoints: Int): String { val buffer = Buffer() for (codePoint in codePoints) { buffer.writeUtf8CodePoint(codePoint) } return buffer.readUtf8()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 931 bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.ci-reporting.gradle.kts
* Team City. */ val testFilesCleanup = extensions.create<TestFileCleanUpExtension>("testFilesCleanup").apply { reportOnly.convention(false) } if ("CI" in System.getenv() && project.name != "gradle-kotlin-dsl-accessors") { rootProject.plugins.apply(TestFilesCleanupRootPlugin::class.java) val globalExtension = rootProject.extensions.getByType<TestFilesCleanupBuildServiceRootExtension>()
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Jul 11 06:57:51 UTC 2023 - 2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java
if (connected) { return; } final String projectId = System.getenv("GCS_PROJECT_ID"); final String endpoint = System.getenv("GCS_ENDPOINT"); final String credentialsFile = System.getenv("GCS_CREDENTIALS_FILE"); // Validate projectId before attempting connection if (StringUtil.isBlank(projectId)) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 9.6K bytes - Viewed (0) -
docs/de/docs/environment-variables.md
```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip | Tipp Das zweite Argument von <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> ist der Defaultwert, der zurückgegeben wird. Wenn er nicht angegeben wird, ist er standardmäßig `None`. Hier geben wir `"World"` als den zu verwendenden Defaultwert an.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 15:10:09 UTC 2025 - 9K bytes - Viewed (0) -
pdm_build.py
import os from typing import Any from pdm.backend.hooks import Context TIANGOLO_BUILD_PACKAGE = os.getenv("TIANGOLO_BUILD_PACKAGE", "fastapi") def pdm_build_initialize(context: Context) -> None: metadata = context.config.metadata # Get custom config for the current package, from the env var config: dict[str, Any] = context.config.data["tool"]["tiangolo"][ "_internal-slim-build" ]["packages"].get(TIANGOLO_BUILD_PACKAGE)Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 691 bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/TeamcityCIDetector.java
public static final String NAME = "TeamCity"; private static final String TEAMCITY_VERSION = "TEAMCITY_VERSION"; @Override public Optional<CIInfo> detectCI() { String ciEnv = System.getenv(TEAMCITY_VERSION); if (ciEnv != null && !ciEnv.trim().isEmpty()) { return Optional.of(new CIInfo() { @Override public String name() { return NAME;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Apr 13 18:50:07 UTC 2025 - 1.5K bytes - Viewed (0) -
tests/helper_test.go
if isTiDB() { t.Skipf("This test case skipped, because of TiDB '%s'", reason) } } func isTiDB() bool { return os.Getenv("GORM_DIALECT") == "tidb" } func isMysql() bool { return os.Getenv("GORM_DIALECT") == "mysql" } func isSqlite() bool { return os.Getenv("GORM_DIALECT") == "sqlite" } func db(unscoped bool) *gorm.DB { if unscoped { return DB.Unscoped() } else {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 8K 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 {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Jun 10 05:45:46 UTC 2025 - 3.1K bytes - Viewed (0) -
maven-tests/mvnw
public class Downloader extends java.net.Authenticator { protected java.net.PasswordAuthentication getPasswordAuthentication() { return new java.net.PasswordAuthentication( System.getenv( "MVNW_USERNAME" ), System.getenv( "MVNW_PASSWORD" ).toCharArray() ); } public static void main( String[] args ) throws Exception { setDefault( new Downloader() );Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Sep 25 18:22:49 UTC 2025 - 10.4K bytes - Viewed (0) -
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: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Mar 17 14:46:34 UTC 2024 - 1.1K bytes - Viewed (1)