Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 51 for Getenv (0.29 seconds)

  1. src/main/java/org/codelibs/core/lang/SystemUtil.java

         *
         * @param key the environment variable key
         * @return the environment variable value, or null if not found
         */
        public static String getEnv(String key) {
            return System.getenv(key);
        }
    
        /**
         * Returns the system environment variable value for the specified key, or the default value if not found.
         *
         * @param key the environment variable key
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  2. 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()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 931 bytes
    - Click Count (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

        object : ThreadFactory {
          private var nextId = 1
    
          override fun newThread(runnable: Runnable): Thread = Thread(runnable, "$name-${nextId++}")
        }
    }
    
    fun getEnv(name: String) = System.getenv(name)
    
    val SYSTEM_FILE_SYSTEM = FileSystem.SYSTEM
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/groovy/elasticsearch.build-scan.gradle

    buildScan {
      background {
        URL jenkinsUrl = System.getenv('JENKINS_URL') ? new URL(System.getenv('JENKINS_URL')) : null
        String buildNumber = System.getenv('BUILD_NUMBER')
        String buildUrl = System.getenv('BUILD_URL')
        String jobName = System.getenv('JOB_NAME')
        String nodeName = System.getenv('NODE_NAME')
        String jobBranch = System.getenv('ghprbTargetBranch') ?: System.getenv('JOB_BRANCH')
    
        tag OS.current().name()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 21 20:40:34 GMT 2021
    - 4.6K bytes
    - Click Count (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        val isCiServer = CI_ENVIRONMENT_VARIABLE in System.getenv()
        val isGhActions = "GITHUB_ACTIONS" in System.getenv()
        val isTeamCity = "TEAMCITY_VERSION" in System.getenv()
        val isTeamCityParallelTestsEnabled
            get() = "TEAMCITY_PARALLEL_TESTS_ENABLED" in System.getenv()
        val isCodeQl: Boolean by lazy {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 25 08:51:12 GMT 2026
    - 4.9K bytes
    - Click Count (1)
  6. .ci/init.gradle

      }
    }
    
    boolean USE_ARTIFACTORY = false
    
    if (System.getenv('VAULT_ADDR') == null) {
      throw new GradleException("You must set the VAULT_ADDR environment variable to use this init script.")
    }
    
    if (System.getenv('VAULT_ROLE_ID') == null && System.getenv('VAULT_SECRET_ID') == null && System.getenv('VAULT_TOKEN') == null) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Nov 13 10:14:04 GMT 2019
    - 3K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DependenciesGraphPlugin.java

        public void apply(Project project) {
            project.getRootProject().getPluginManager().apply(DependenciesGraphHookPlugin.class);
            final String url = System.getenv("SCA_URL");
            final String token = System.getenv("SCA_TOKEN");
            TaskProvider<DependenciesGraphTask> depsGraph = project.getTasks().register("dependenciesGraph", DependenciesGraphTask.class);
            depsGraph.configure(t -> {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  8. buildscripts/gen-ldflags.go

    	ldflagsStr += " -X github.com/minio/minio/cmd.GOPATH=" + os.Getenv("GOPATH")
    	ldflagsStr += " -X github.com/minio/minio/cmd.GOROOT=" + os.Getenv("GOROOT")
    	return ldflagsStr
    }
    
    // genReleaseTag prints release tag to the console for easy git tagging.
    func releaseTag(version string) (string, time.Time) {
    	relPrefix := "DEVELOPMENT"
    	if prefix := os.Getenv("MINIO_RELEASE"); prefix != "" {
    		relPrefix = prefix
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jun 16 23:10:48 GMT 2022
    - 3.3K bytes
    - Click Count (0)
  9. tensorflow/api_template_v1.__init__.py

    # lazy loading.
    _current_module.compat.v2  # pylint: disable=pointless-statement
    
    # Load tensorflow-io-gcs-filesystem if enabled
    if (_os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "true" or
        _os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "1"):
      import tensorflow_io_gcs_filesystem as _tensorflow_io_gcs_filesystem
    
    # Lazy-load Keras v1.
    _tf_uses_legacy_keras = (
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Oct 02 22:16:02 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  10. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

            }
        }
    
        private static void downloadFileFromURL(String urlString, File destination) throws Exception {
            if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) {
                String username = System.getenv("MVNW_USERNAME");
                char[] password = System.getenv("MVNW_PASSWORD").toCharArray();
                Authenticator.setDefault(new Authenticator() {
                    @Override
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 4.8K bytes
    - Click Count (0)
Back to Top