Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 281 for SetProperty (0.04 sec)

  1. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        assertThat(source.read()).isEmpty();
    
        out.write(data);
        assertThat(source.read()).isEqualTo(data);
    
        out.close();
      }
    
      private static boolean isAndroid() {
        return System.getProperty("java.runtime.name", "").contains("Android");
      }
    
      private static boolean isWindows() {
        return OS_NAME.value().startsWith("Windows");
      }
    
      /**
       * Test that verifies the resource leak fix for <a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

        private fun versionString(): String? {
          val prop = Properties()
          Main::class.java.getResourceAsStream("/okcurl-version.properties")?.use {
            prop.load(it)
          }
          return prop.getProperty("version", "dev")
        }
    
        @Suppress("TrustAllX509TrustManager", "CustomX509TrustManager")
        private fun createInsecureTrustManager(): X509TrustManager =
          object : X509TrustManager {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      static final boolean GENERATE_CANCELLATION_CAUSES;
    
      static {
        // System.getProperty may throw if the security policy does not permit access.
        boolean generateCancellationCauses;
        try {
          generateCancellationCauses =
              parseBoolean(System.getProperty("guava.concurrent.generate_cancellation_cause", "false"));
        } catch (SecurityException e) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/timer/TimeoutManager.java

            return timeoutTaskList.size();
        }
    
        @Override
        public void run() {
            int nThreads = Runtime.getRuntime().availableProcessors() / 2;
            final String value = System.getProperty("corelib.timeout_task.num_of_threads");
            if (StringUtil.isNotBlank(value)) {
                try {
                    nThreads = Integer.parseInt(value);
                } catch (final NumberFormatException e) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

            return null
          } else {
            return method.invoke(this, *callArgs)
          }
        }
      }
    
      companion object {
        fun buildIfSupported(): Platform? {
          val jvmVersion = System.getProperty("java.specification.version", "unknown")
          try {
            // 1.8, 9, 10, 11, 12 etc
            val version = jvmVersion.toInt()
            if (version >= 9) return null
          } catch (_: NumberFormatException) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. .teamcity/.mvn/wrapper/maven-wrapper.jar

    java.util.Properties) throws java.io.IOException; public java.net.URI getDistribution(); public WrapperConfiguration getConfiguration(); public void execute(String[], Installer, BootstrapMainStarter) throws Exception; private String getProperty(String); private String getProperty(String, String); private String reportMissingPropert(String); } org/apache/maven/wrapper/cli/AbstractCommandLineC.class package org.apache.maven.wrapper.cli; public abstract synchronized class AbstractCommandLineC implements CommandLineConverter...
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 49.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

         *
         * @return the list of process types
         */
        protected List<String> getProcessTypeList() {
            final List<String> ptList = new ArrayList<>();
            final String executeType = System.getProperty("lasta.env");
            if (Constants.EXECUTE_TYPE_CRAWLER.equalsIgnoreCase(executeType)) {
                ptList.add(Constants.PROCESS_TYPE_REPLACE);
            } else {
                ptList.add(Constants.PROCESS_TYPE_DISPLAYING);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/EnumsTest.java

            : parseJavaClassPath().toArray(new URL[0]);
      }
    
      /**
       * Returns the URLs in the class path specified by the {@code java.class.path} {@linkplain
       * System#getProperty system property}.
       */
      // TODO(b/65488446): Make this a public API.
      @J2ktIncompatible
      private static ImmutableList<URL> parseJavaClassPath() {
        ImmutableList.Builder<URL> urls = ImmutableList.builder();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/Handler.java

                }
                if (factory != null) {
                    handler = factory.createURLStreamHandler(protocol);
                }
                if (handler == null) {
                    final String path = System.getProperty(HANDLER_PKGS_PROPERTY);
                    final StringTokenizer tokenizer = new StringTokenizer(path, "|");
                    while (tokenizer.hasMoreTokens()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

            valueSources.add(new AbstractValueSource(false) {
                @Override
                public Object getValue(String expression) {
                    return config.getSystemProperties().getProperty("env." + expression);
                }
            });
    
            valueSources.add(modelValueSource2);
    
            return valueSources;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top