Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 218 for jdk8 (0.04 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        // We can continue if it's 1.8, and we can continue if it's an integer in [9, 20).
        if (javaVersion != null && javaVersion >= 20) {
          // TODO(b/261217224, b/361604053): Make this test work under newer JDKs.
          return;
        }
        TimedWaiterThread thread = new TimedWaiterThread(new AbstractFuture<Object>() {}, 2, SECONDS);
        thread.start();
        thread.awaitWaiting();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/ClassPath.java

        int classNameEnd = filename.length() - CLASS_FILE_NAME_EXTENSION.length();
        return filename.substring(0, classNameEnd).replace('/', '.');
      }
    
      // TODO(benyu): Try java.nio.file.Paths#get() when Guava drops JDK 6 support.
      @VisibleForTesting
      static File toFile(URL url) {
        checkArgument(url.getProtocol().equals("file"));
        try {
          return new File(url.toURI()); // Accepts escaped characters like %20.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

        if (expectedSize < 3) {
          checkNonnegative(expectedSize, "expectedSize");
          return expectedSize + 1;
        }
        if (expectedSize < Ints.MAX_POWER_OF_TWO) {
          // This seems to be consistent across JDKs. The capacity argument to HashMap and LinkedHashMap
          // ends up being used to compute a "threshold" size, beyond which the internal table
          // will be resized. That threshold is ceilingPowerOfTwo(capacity*loadFactor), where
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Maps.java

        if (expectedSize < 3) {
          checkNonnegative(expectedSize, "expectedSize");
          return expectedSize + 1;
        }
        if (expectedSize < Ints.MAX_POWER_OF_TWO) {
          // This seems to be consistent across JDKs. The capacity argument to HashMap and LinkedHashMap
          // ends up being used to compute a "threshold" size, beyond which the internal table
          // will be resized. That threshold is ceilingPowerOfTwo(capacity*loadFactor), where
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedSet.java

       *     ImmutableSortedSet#copyOf(Comparable[])}.</b>
       */
      @DoNotCall("Pass parameters of type Comparable")
      @Deprecated
      // The usage of "Z" here works around bugs in Javadoc (JDK-8318093) and JDiff.
      public static <Z> ImmutableSortedSet<Z> copyOf(Z[] elements) {
        throw new UnsupportedOperationException();
      }
    
      private static final long serialVersionUID = 0xcafebabe;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/CharMatcherTest.java

        }
      }
    
      // Omitting tests for the rest of the JAVA_* constants as these are defined
      // as extremely straightforward pass-throughs to the JDK methods.
    
      // We're testing the is(), isNot(), anyOf(), noneOf() and inRange() methods
      // below by testing their text-processing methods.
    
      // The organization of this test class is unusual, as it's not done by
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  7. CHANGELOG.md

        possible to implement decorators for cache encryption or compression.
     *  New: `Cookie.newBuilder()` to build upon an existing cookie.
     *  New: Use TLSv1.3 when running on JDK 8u261 or newer.
     *  New: `QueueDispatcher.clear()` may be used to reset a MockWebServer instance.
     *  New: `FileDescriptor.toRequestBody()` may be particularly useful for users of Android's Storage
        Access Framework.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:31:39 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/Stats.java

     * calculate <i>only</i> the mean.
     *
     * <p><b>Java 8+ users:</b> If you are not using any of the variance statistics, you may wish to use
     * built-in JDK libraries instead of this class.
     *
     * @author Pete Gillin
     * @author Kevin Bourrillion
     * @since 20.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/net/InetAddresses.java

     *
     * <p><b>Important note:</b> Unlike {@code InetAddress.getByName()}, the methods of this class never
     * cause DNS services to be accessed. For this reason, you should prefer these methods as much as
     * possible over their JDK equivalents whenever you are expecting to handle only IP address string
     * literals -- there is no blocking DNS penalty for a malformed string.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CallTest.kt

        server.enqueue(MockResponse(body = "response that will never be received"))
        val response = executeSynchronously("/")
        response.assertFailure(
          // JDK 11 response to the FAIL_HANDSHAKE:
          SSLException::class.java,
          // RI response to the FAIL_HANDSHAKE:
          SSLProtocolException::class.java,
          // Android's response to the FAIL_HANDSHAKE:
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top