- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 206 for jdk8 (0.04 sec)
-
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
return ch >= 32 && ch < 127; } /** * Creates a new String from a char array without copying the array. * <p> * This method uses internal JDK APIs and may not be available in all Java versions. * If the internal API is not available, it falls back to the standard String constructor. * </p> * * @param chars * the char array
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 21.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
Long.MIN_VALUE, Long.MAX_VALUE }; private static final float[] VALUES = Floats.concat(NUMBERS, new float[] {NaN}); // We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testHashCode() { for (float value : VALUES) { assertThat(Floats.hashCode(value)).isEqualTo(Float.hashCode(value)); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
private static final int GREATEST = Integer.MAX_VALUE; private static final int[] VALUES = {LEAST, (int) -1, (int) 0, (int) 1, GREATEST}; // We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testHashCode() { for (int value : VALUES) { assertThat(Ints.hashCode(value)).isEqualTo(Integer.hashCode(value)); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
Long.MIN_VALUE, Long.MAX_VALUE }; private static final float[] VALUES = Floats.concat(NUMBERS, new float[] {NaN}); // We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testHashCode() { for (float value : VALUES) { assertThat(Floats.hashCode(value)).isEqualTo(Float.hashCode(value)); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
* typically by writing {@code (Function<Object, String> & Serializable) Object::toString}. * * <p>For more important information about the transition from Guava's {@link Function} class to * the JDK {@link java.util.function.Function} class, see {@link Function}. */ public static Function<Object, String> toStringFunction() { return ToStringFunction.INSTANCE; } // enum singleton pattern
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 15.4K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/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.Builder): List<String> { val headers = response.build().headers
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.6K bytes - Viewed (0)