- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 3,905 for new2 (0.06 sec)
-
android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
assertThat(expected).hasCauseThat().isEqualTo(cause); Object newValue = new Object(); valueRef.set(newValue); assertSame(newValue, cache.getUnchecked(new Object())); } public void testGetUnchecked_unchecked() { RuntimeException cause = new RuntimeException(); AtomicReference<Object> valueRef = new AtomicReference<>();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
testRotate(new byte[] {1, 2}, -1, new byte[] {2, 1}); testRotate(new byte[] {1, 2}, -2, new byte[] {1, 2}); testRotate(new byte[] {1, 2}, 0, new byte[] {1, 2}); testRotate(new byte[] {1, 2}, 1, new byte[] {2, 1}); testRotate(new byte[] {1, 2}, 2, new byte[] {1, 2}); testRotate(new byte[] {1, 2}, 3, new byte[] {2, 1}); testRotate(new byte[] {1, 2, 3}, -5, new byte[] {3, 1, 2});
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
// When/Then assertDoesNotThrow(() -> { RuntimeCIFSException exception = new RuntimeCIFSException((String) null); assertNull(exception.getMessage()); }); assertDoesNotThrow(() -> { RuntimeCIFSException exception = new RuntimeCIFSException(null, new RuntimeException()); assertNull(exception.getMessage()); }); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
testRotate(new double[] {1, 2}, -3, new double[] {2, 1}); testRotate(new double[] {1, 2}, -1, new double[] {2, 1}); testRotate(new double[] {1, 2}, -2, new double[] {1, 2}); testRotate(new double[] {1, 2}, 0, new double[] {1, 2}); testRotate(new double[] {1, 2}, 1, new double[] {2, 1}); testRotate(new double[] {1, 2}, 2, new double[] {1, 2}); testRotate(new double[] {1, 2}, 3, new double[] {2, 1});
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
public void testRotate() { testRotate(new char[] {}, -1, new char[] {}); testRotate(new char[] {}, 0, new char[] {}); testRotate(new char[] {}, 1, new char[] {}); testRotate(new char[] {'1'}, -2, new char[] {'1'}); testRotate(new char[] {'1'}, -1, new char[] {'1'}); testRotate(new char[] {'1'}, 0, new char[] {'1'}); testRotate(new char[] {'1'}, 1, new char[] {'1'});
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
testRotate(new double[] {1, 2}, -3, new double[] {2, 1}); testRotate(new double[] {1, 2}, -1, new double[] {2, 1}); testRotate(new double[] {1, 2}, -2, new double[] {1, 2}); testRotate(new double[] {1, 2}, 0, new double[] {1, 2}); testRotate(new double[] {1, 2}, 1, new double[] {2, 1}); testRotate(new double[] {1, 2}, 2, new double[] {1, 2}); testRotate(new double[] {1, 2}, 3, new double[] {2, 1});
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/Maps.java
*/ public static <KEY, VALUE> Maps<KEY, VALUE> concurrentHashMap(final KEY key, final VALUE value) { return new Maps<>(new ConcurrentHashMap<KEY, VALUE>()).$(key, value); } /** * Returns a {@literal Maps} for constructing a {@link HashMap} with the specified key and value. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 7.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
testRotate(new long[] {1, 2}, -1, new long[] {2, 1}); testRotate(new long[] {1, 2}, -2, new long[] {1, 2}); testRotate(new long[] {1, 2}, 0, new long[] {1, 2}); testRotate(new long[] {1, 2}, 1, new long[] {2, 1}); testRotate(new long[] {1, 2}, 2, new long[] {1, 2}); testRotate(new long[] {1, 2}, 3, new long[] {2, 1}); testRotate(new long[] {1, 2, 3}, -5, new long[] {3, 1, 2});
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 28.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
testRotate(new short[] {1, 2}, -3, new short[] {2, 1}); testRotate(new short[] {1, 2}, -1, new short[] {2, 1}); testRotate(new short[] {1, 2}, -2, new short[] {1, 2}); testRotate(new short[] {1, 2}, 0, new short[] {1, 2}); testRotate(new short[] {1, 2}, 1, new short[] {2, 1}); testRotate(new short[] {1, 2}, 2, new short[] {1, 2}); testRotate(new short[] {1, 2}, 3, new short[] {2, 1});
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
SomeCheckedException cause = new SomeCheckedException(); SomeChainingException exception = new SomeChainingException(new SomeChainingException(cause)); assertSame(cause, getRootCause(exception)); } public void testGetRootCause_loop() { Exception cause = new Exception(); Exception exception = new Exception(cause); cause.initCause(exception); IllegalArgumentException expected =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0)