- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 3,899 for new (0.16 sec)
-
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});
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 16.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
// ? extends T assertAssignable(new TypeToken<List<N11>>() {}, new TypeToken<List<? extends N1>>() {}); assertNotAssignable(new TypeToken<List<N1>>() {}, new TypeToken<List<? extends N11>>() {}); assertNotAssignable(new TypeToken<List<Number>>() {}, new TypeToken<List<? extends N11>>() {}); // ? extends Number assertAssignable(new TypeToken<List<N1>>() {}, new TypeToken<List<? extends Number>>() {});
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 88.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
} public void testFailStart() throws Exception { Service a = new NoOpService(); Service b = new FailStartService(); Service c = new NoOpService(); Service d = new FailStartService(); Service e = new NoOpService(); ServiceManager manager = new ServiceManager(asList(a, b, c, d, e)); RecordingListener listener = new RecordingListener(); manager.addListener(listener, directExecutor());
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 02 17:20:27 GMT 2023 - 23.2K bytes - Viewed (0) -
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() { final RuntimeException cause = new RuntimeException(); final AtomicReference<Object> valueRef = new AtomicReference<>();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
testSortDescending(new byte[] {}, 0, 0, new byte[] {}); testSortDescending(new byte[] {1}, 0, 1, new byte[] {1}); testSortDescending(new byte[] {1, 2}, 0, 2, new byte[] {2, 1}); testSortDescending(new byte[] {1, 3, 1}, 0, 2, new byte[] {3, 1, 1}); testSortDescending(new byte[] {1, 3, 1}, 0, 1, new byte[] {1, 3, 1}); testSortDescending( new byte[] {GREATEST - 1, 1, GREATEST - 2, 2}, 1,
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 13.4K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java
void testHandleExceptionAetherClassNotFound() { Throwable cause2 = new NoClassDefFoundError("org/sonatype/aether/RepositorySystem"); Plugin plugin = new Plugin(); Exception cause = new PluginContainerException(plugin, null, null, cause2); PluginDescriptor pluginDescriptor = new PluginDescriptor(); MojoDescriptor mojoDescriptor = new MojoDescriptor(); mojoDescriptor.setPluginDescriptor(pluginDescriptor);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ObjectArraysTest.java
doTestToArrayImpl2(Lists.<Integer>newArrayList(), new Integer[0], false); doTestToArrayImpl2(Lists.<Integer>newArrayList(), new Integer[1], true); doTestToArrayImpl2(Lists.newArrayList(1), new Integer[0], false); doTestToArrayImpl2(Lists.newArrayList(1), new Integer[1], true); doTestToArrayImpl2(Lists.newArrayList(1), new Integer[] {2, 3}, true);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 8.8K 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});
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 26.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
.add(new Striped.LargeLazyStriped<ReadWriteLock>(50, READ_WRITE_LOCK_SUPPLIER)) .add(new Striped.LargeLazyStriped<ReadWriteLock>(64, READ_WRITE_LOCK_SUPPLIER)) .add(new Striped.SmallLazyStriped<Lock>(50, LOCK_SUPPLER)) .add(new Striped.SmallLazyStriped<Lock>(64, LOCK_SUPPLER)) .add(new Striped.LargeLazyStriped<Lock>(50, LOCK_SUPPLER)) .add(new Striped.LargeLazyStriped<Lock>(64, LOCK_SUPPLER))
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
ImmutableList.of( new TestFuture(doneSuccess, "doneSuccess", doNothing), new TestFuture(doneFailed, "doneFailed", doNothing), new TestFuture(doneCancelled, "doneCancelled", doNothing), new TestFuture(doneRuntimeException, "doneRuntimeException", doNothing), new TestFuture(delayedSuccess, "delayedSuccess", finishSuccess),
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0)