Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 169 for jdk9 (0.01 sec)

  1. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a
     * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
     * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for
     * ordinary tests.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/Types.java

          return Types.toString(type);
        }
    
        boolean jdkTypeDuplicatesOwnerName() {
          return true;
        }
      }
    
      /**
       * Per <a href="https://github.com/google/guava/issues/1635">issue 1635</a>, In JDK 1.7.0_51-b13,
       * {@link TypeVariableImpl#equals(Object)} is changed to no longer be equal to custom TypeVariable
       * implementations. As a result, we need to make sure our TypeVariable implementation respects
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Optional.java

     *
     * <p>An instance of this class is serializable if its reference is absent or is a serializable
     * object.
     *
     * <p><b>Comparison to {@code java.util.Optional} (JDK 8 and higher):</b> A new {@code Optional}
     * class was added for Java 8. The two classes are extremely similar, but incompatible (they cannot
     * share a common supertype). <i>All</i> known differences are listed either here or with the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ShortsTest.java

      private static final short GREATEST = Short.MAX_VALUE;
    
      private static final short[] VALUES = {LEAST, (short) -1, (short) 0, (short) 1, GREATEST};
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (short value : VALUES) {
          assertThat(Shorts.hashCode(value)).isEqualTo(Short.hashCode(value));
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Booleans.java

        INSTANCE;
    
        @Override
        public int compare(boolean[] left, boolean[] right) {
          // do not static import Math.min due to https://bugs.openjdk.org/browse/JDK-8357219
          @SuppressWarnings("StaticImportPreferred")
          int minLength = Math.min(left.length, right.length);
          for (int i = 0; i < minLength; i++) {
            int result = Boolean.compare(left[i], right[i]);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 15:01:23 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Booleans.java

        INSTANCE;
    
        @Override
        public int compare(boolean[] left, boolean[] right) {
          // do not static import Math.min due to https://bugs.openjdk.org/browse/JDK-8357219
          @SuppressWarnings("StaticImportPreferred")
          int minLength = Math.min(left.length, right.length);
          for (int i = 0; i < minLength; i++) {
            int result = Boolean.compare(left[i], right[i]);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 15:01:23 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * might not (and the answer might change while we're building the array).
       *
       * TODO: cpovirk - Is this an issue anywhere anymore? It looks to have been fixed for Java 8
       * (https://bugs.openjdk.org/browse/JDK-7121314) and before Lollipop
       * (https://r.android.com/47508). We *would* need to worry for J2KT, whose own concurrency support
       * is evolving (b/381065164, b/458160722), but this class is @J2ktIncompatible.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Types.java

          return Types.toString(type);
        }
    
        boolean jdkTypeDuplicatesOwnerName() {
          return true;
        }
      }
    
      /**
       * Per <a href="https://github.com/google/guava/issues/1635">issue 1635</a>, In JDK 1.7.0_51-b13,
       * {@link TypeVariableImpl#equals(Object)} is changed to no longer be equal to custom TypeVariable
       * implementations. As a result, we need to make sure our TypeVariable implementation respects
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Joiner.java

      }
    
      /*
       * TODO: b/381289911 - Make the Iterator overload use StringJoiner (including Android or not)—or
       * some other optimization, given that StringJoiner can over-allocate:
       * https://bugs.openjdk.org/browse/JDK-8305774
       */
    
      // TODO: b/381289911 - Optimize MapJoiner similarly to Joiner (including Android or not).
    
      /**
       * Returns a string containing the string representation of each of {@code parts}, using the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

          // On Android, HttpURLConnection is implemented by OkHttp v2. OkHttp
          // treats an incomplete response body as a ProtocolException.
        } catch (ioe: IOException) {
          // Change in https://bugs.openjdk.org/browse/JDK-8335135
          assertThat(ioe.message).isEqualTo("Premature EOF")
        }
      }
    
      private fun headersToList(response: MockResponse): List<String> {
        val headers = response.headers
        val size = headers.size
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
Back to top