Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 198 for getProperty (0.33 sec)

  1. android/guava/src/com/google/common/base/StandardSystemProperty.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Represents a {@linkplain System#getProperties() standard system property}.
     *
     * @author Kurt Alfred Kluever
     * @since 15.0
     */
    @GwtIncompatible // java.lang.System#getProperty
    public enum StandardSystemProperty {
    
      /** Java Runtime Environment version. */
      JAVA_VERSION("java.version"),
    
      /** Java Runtime Environment vendor. */
      JAVA_VENDOR("java.vendor"),
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 06 10:03:30 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            String path = System.getProperty(altLocationSysProp);
    
            if (path == null || path.isEmpty()) {
                // TODO This replacing shouldn't be necessary as user.home should be in the
                // context of the container and thus the value would be interpolated by Plexus
                String basedir = System.getProperty(basedirSysProp);
                if (basedir == null) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

      val UNREACHABLE_ADDRESS_IPV6 = InetSocketAddress("::ffff:198.51.100.1", 8080)
    
      /** See `org.graalvm.nativeimage.ImageInfo`. */
      @JvmStatic val isGraalVmImage = System.getProperty("org.graalvm.nativeimage.imagecode") != null
    
      @JvmStatic
      fun headerEntries(vararg elements: String?): List<Header> = List(elements.size / 2) { Header(elements[it * 2]!!, elements[it * 2 + 1]!!) }
    
      @JvmStatic
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            final long timeout = 2000L;
            generator.setCommandDestroyTimeout(timeout);
            assertTrue(true);
        }
    
        public void test_setBaseDir() throws Exception {
            final File tempDir = new File(System.getProperty("java.io.tmpdir"));
            generator.setBaseDir(tempDir);
            assertTrue(true);
        }
    
        public void test_setCommandList() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  5. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt

      return Client(
        userAgent = "OkHttp",
        version = version,
        enabled = enabled,
      )
    }
    
    fun currentVm(ianaSuites: IanaSuites): Client =
      systemDefault(
        name = System.getProperty("java.vm.name"),
        version = System.getProperty("java.version"),
        ianaSuites = ianaSuites,
      )
    
    fun conscrypt(ianaSuites: IanaSuites): Client {
      val version = Conscrypt.version()
      return systemDefault(
        name = "Conscrypt",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                        props.load(Channels.newInputStream(channel));
                    }
    
                    props.setProperty(key, Long.toString(System.currentTimeMillis()));
    
                    if (error != null) {
                        props.setProperty(key + ERROR_KEY_SUFFIX, error);
                    } else {
                        props.remove(key + ERROR_KEY_SUFFIX);
                    }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Apr 22 22:13:51 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

        public void init() throws IOException {
            /*
             * TODO if (initialized) { return; }
             *
             * if (tokenizerFactory == null) { final String path = System.getProperty(SuggestConstants.USER_DICT_PATH);
             * final String encoding = System.getProperty(SuggestConstants.USER_DICT_ENCODING); final Map<String, String>
             * args = new HashMap<>(); args.put("mode", "normal"); args.put("discardPunctuation", "false"); if
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. build.gradle.kts

        }
      }
    
      normalization {
        runtimeClasspath {
          metaInf {
            ignoreAttribute("Bnd-LastModified")
          }
        }
      }
    }
    
    val platform = System.getProperty("okhttp.platform", "jdk9")
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    /** Configure building for Java+Kotlin projects. */
    subprojects {
      val project = this@subprojects
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 11.3K bytes
    - Viewed (1)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformVersion.kt

      val majorVersion: Int by lazy {
        when (val jvmSpecVersion = getJvmSpecVersion()) {
          "1.8" -> 8
          else -> jvmSpecVersion.toInt()
        }
      }
    
      fun getJvmSpecVersion(): String = System.getProperty("java.specification.version", "unknown")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 902 bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/TestPlatform.java

    /**
     * @author Chris Povirk
     */
    @GwtCompatible
    @NullUnmarked
    final class TestPlatform {
      static boolean intsCanGoOutOfRange() {
        return false;
      }
    
      static boolean isAndroid() {
        return System.getProperty("java.runtime.name", "").contains("Android");
      }
    
      private TestPlatform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 1K bytes
    - Viewed (0)
Back to top