- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 328 for cpovirk (0.04 seconds)
-
guava-tests/test/com/google/common/base/FunctionsTest.java
new ClassSanityTester().forAllPublicStaticMethods(Functions.class).testNulls(); } @J2ktIncompatible @GwtIncompatible // reflection @AndroidIncompatible // TODO(cpovirk): ClassNotFoundException: com.google.common.base.Function // (I suspect that this and the other similar failures happen with ArbitraryInstances proxies.) public void testEqualsAndSerializable() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 16.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
checkNonNegative(--successorCount); if (orderedNodeConnections != null) { orderedNodeConnections.remove(new NodeConnection.Succ<>((N) node)); } } /* * TODO(cpovirk): `return (V) removedValue` once our checker permits that. * * (We promoted a class of warnings into errors because sometimes they indicate real problems.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 17.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/ThrowablesTest.java
/** * Unit test for {@link Throwables}. * * @author Kevin Bourrillion */ @GwtCompatible @SuppressWarnings({ "deprecation", // tests of numerous deprecated methods "nullness", // TODO(cpovirk): fix errors }) @NullUnmarked public class ThrowablesTest extends TestCase { // We're testing that the method is in fact equivalent to throwing the exception directly. @SuppressWarnings("ThrowIfUncheckedKnownUnchecked")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 15K bytes - Click Count (0) -
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 13.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
new TestStringSortedMapGenerator() { @Override protected SortedMap<String, String> create(Entry<String, String>[] entries) { /* * TODO(cpovirk): it would be nice to create an input Map and use * the copy constructor here and in the other tests */ return populate(new TreeMap<String, String>(), entries);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 17.3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Converter.java
* methods to accept null. We could avoid having unchecked casts in Converter.java itself if we * could perform a cast to LegacyConverter, but we can't because it's an internal-only class. * * TODO(cpovirk): So make it part of the open-source build, albeit package-private there? * * So we use uncheckedCastNullableTToT here. This is a weird usage of that method: The method is
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 18 21:43:06 GMT 2025 - 22.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
*/ protected void shutDown() throws Exception {} /** * Returns the {@link Scheduler} object used to configure this service. This method will only be * called once. */ // TODO(cpovirk): @ForOverride protected abstract Scheduler scheduler(); /** * Returns the {@link ScheduledExecutorService} that will be used to execute the {@link #startUp},
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 27.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSet.java
if (elements.isEmpty()) { // We avoid allocating anything. return of(); } // Collection<E>.toArray() is required to contain only E instances, and all we do is read them. // TODO(cpovirk): Consider using Object[] anyway. @SuppressWarnings("unchecked") E[] array = (E[]) elements.toArray(); /* * For a Set, we guess that it contains no duplicates. That's just a guess for purpose ofCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
.longValue(), /* actual= */ LongMath.MAX_POWER_OF_SQRT2_UNSIGNED); } @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath public void testMaxLog10ForLeadingZeros() { for (int i = 0; i < Long.SIZE; i++) { assertEquals( BigIntegerMath.log10(BigInteger.ONE.shiftLeft(Long.SIZE - i), FLOOR),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 30 14:15:36 GMT 2025 - 31.4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
import java.util.stream.Collector; import jsinterop.annotations.JsMethod; import org.jspecify.annotations.Nullable; /** * GWT emulated version of {@link com.google.common.collect.ImmutableList}. TODO(cpovirk): more doc * * @author Hayward Chan */ @SuppressWarnings("serial") // we're overriding default serialization public abstract class ImmutableList<E> extends ImmutableCollection<E> implements List<E>, RandomAccess {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 11.1K bytes - Click Count (0)