- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 99 for dela (0.14 sec)
-
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 25.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
notifyStopped(); } } /* * A NoOp service that will delay the startup and shutdown notification for a configurable amount * of time. */ private static class NoOpDelayedService extends NoOpService { private long delay; public NoOpDelayedService(long delay) { this.delay = delay; } @Override protected void doStart() { new Thread() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Oct 02 17:20:27 GMT 2023 - 23.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
*/ @Override protected void expectContents(Collection<E> expectedCollection) { List<E> expectedList = Helpers.copyToList(expectedCollection); // Avoid expectEquals() here to delay reason manufacture until necessary. if (getList().size() != expectedList.size()) { fail("size mismatch: " + reportContext(expectedList)); } for (int i = 0; i < expectedList.size(); i++) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java
import com.google.common.annotations.GwtCompatible; import org.checkerframework.checker.nullness.qual.Nullable; /** * An unhashable object to be used in testing as values in our collections. * * @author Regina O'Dell */ @GwtCompatible public class UnhashableObject implements Comparable<UnhashableObject> { private final int value; public UnhashableObject(int value) { this.value = value; } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 20 11:19:03 GMT 2023 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheRefreshTest.java
assertEquals(Integer.valueOf(2), cache.getUnchecked(2)); assertEquals(expectedLoads, loader.getLoadCount()); assertEquals(expectedReloads, loader.getReloadCount()); // write to 1 to delay its refresh cache.asMap().put(1, -1); ticker.advance(1, MILLISECONDS); assertEquals(Integer.valueOf(1), cache.getUnchecked(0)); assertEquals(Integer.valueOf(-1), cache.getUnchecked(1));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
} public void testToArray_threadSafe() { for (int delta : new int[] {+1, 0, -1}) { for (int i = 0; i < VALUES.length; i++) { List<Byte> list = Bytes.asList(VALUES).subList(0, i); Collection<Byte> misleadingSize = Helpers.misleadingSizeCollection(delta); misleadingSize.addAll(list); byte[] arr = Bytes.toArray(misleadingSize);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 16.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
boolean longWait = TimeUnit.NANOSECONDS.toSeconds(thread.timeSpentBlocked) >= 5; // Count how long it actually took to return; we'll accept any number between the expected delay // and the approximate actual delay, to be robust to variance in thread scheduling. char overWaitNanosFirstDigit = Long.toString( thread.timeSpentBlocked - TimeUnit.MILLISECONDS.toNanos(longWait ? 5000 : 3000))
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 46.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt
feet, they seemed to be almost out of sight, they were getting so far off). `Oh, my poor little feet, I wonder who will put on your shoes and stockings for you now, dears? I'm sure _I_ shan't be able! I shall be a great deal too far off to trouble myself about you: you must manage the best way you can; --but I must be kind to them,' thought Alice, `or perhaps they won't walk the way I want to go! Let me see: I'll give them a new pair of
Plain Text - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 145.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
} public void testToArray_threadSafe() { for (int delta : new int[] {+1, 0, -1}) { for (int i = 0; i < VALUES.length; i++) { List<Integer> list = Ints.asList(VALUES).subList(0, i); Collection<Integer> misleadingSize = Helpers.misleadingSizeCollection(delta); misleadingSize.addAll(list); int[] arr = Ints.toArray(misleadingSize);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 28.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/CharsTest.java
} public void testToArray_threadSafe() { for (int delta : new int[] {+1, 0, -1}) { for (int i = 0; i < VALUES.length; i++) { List<Character> list = Chars.asList(VALUES).subList(0, i); Collection<Character> misleadingSize = Helpers.misleadingSizeCollection(delta); misleadingSize.addAll(list); char[] arr = Chars.toArray(misleadingSize);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 24.7K bytes - Viewed (0)