- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 250 for cpovirk (0.04 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
SpliteratorDecompositionStrategy.ALL_STRATEGIES) { List<E> resultsForStrategy = new ArrayList<>(); strategy.forEach(spliteratorSupplier.get(), resultsForStrategy::add); // TODO(cpovirk): better failure messages if ((characteristics & Spliterator.NONNULL) != 0) { assertFalse(resultsForStrategy.contains(null)); } if ((characteristics & Spliterator.SORTED) != 0) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 12.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/Platform.java
* * - https://github.com/jspecify/jspecify/issues/65 * * - https://github.com/jspecify/jdk/commit/71d826792b8c7ef95d492c50a274deab938f2552 */ /* * TODO(cpovirk): Is the unchecked cast avoidable? Would System.arraycopy be similarly fast (if * likewise not type-checked)? Could our single caller do something different? */ @SuppressWarnings({"nullness", "unchecked"})
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
actsLikeIteratorHelper(emptyList()); } public void testPeekingIteratorBehavesLikeIteratorOnSingletonIterable() { actsLikeIteratorHelper(singletonList(new Object())); } // TODO(cpovirk): instead of skipping, use a smaller number of steps @GwtIncompatible // works but takes 5 minutes to run public void testPeekingIteratorBehavesLikeIteratorOnThreeElementIterable() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Throwables.java
@GwtIncompatible // invokeAccessibleNonThrowingMethod private static List<StackTraceElement> jlaStackTrace(Throwable t) { checkNotNull(t); /* * TODO(cpovirk): Consider optimizing iterator() to catch IOOBE instead of doing bounds checks. * * TODO(cpovirk): Consider the UnsignedBytes pattern if it performs faster and doesn't cause * AOSP grief. */ return new AbstractList<StackTraceElement>() { /*
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java
/* * StandardDescendingMap uses lowerEntry(), and TreeMap.lowerEntry() deliberately * produces immutable entries. * * TODO(cpovirk): Consider making StandardDescendingMap return a ForwardingEntry that * supports setValue(). */ .suppressing( MapEntrySetTester.getSetValueMethod(),Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 9.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
* * 1. Both superclass toArray methods assume that size() gives a correct answer, while our size() * 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
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 22:42:14 GMT 2025 - 22.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
* #dispatch} is expected to be called concurrently, it is idempotent. */ @J2ktIncompatible @GwtIncompatible final class ListenerCallQueue<L> { // TODO(cpovirk): consider using the logger associated with listener.getClass(). private static final LazyLogger logger = new LazyLogger(ListenerCallQueue.class); // TODO(chrisn): promote AppendOnlyCollection for use here.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 8.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
*/ private void assertSuppressed(Suppression... expected) { assertEquals(ImmutableList.copyOf(expected), suppressor.suppressions); } // TODO(cpovirk): Just use addSuppressed+getSuppressed now that we can rely on it. /** Suppressor that records suppressions. */ private static class TestSuppressor implements Closer.Suppressor {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 11.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
} manualExecutorTask[0].run(); for (Future<?> result : results) { if (!result.isCancelled()) { result.get(10, SECONDS); } // TODO(cpovirk): Verify that the cancelled futures are exactly ones that we expect. } assertThat(logHandler.getStoredLogRecords()).isEmpty(); } public void testAvoidsStackOverflow_manySubmitted() throws Exception {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 01:35:55 GMT 2025 - 16.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/GeneralRange.java
return !tooLow(t) && !tooHigh(t); } /** * Returns the intersection of the two ranges, or an empty range if their intersection is empty. */ @SuppressWarnings("nullness") // TODO(cpovirk): Add casts as needed. Will be noisy and annoying... GeneralRange<T> intersect(GeneralRange<T> other) { checkNotNull(other); checkArgument(comparator.equals(other.comparator));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0)