- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 264 for cpovirk (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava/src/com/google/common/collect/ImmutableSetMultimap.java
*/ public static <K, V> ImmutableSetMultimap<K, V> copyOf( Multimap<? extends K, ? extends V> multimap) { checkNotNull(multimap); // eager for GWT /* * TODO(cpovirk): When given an ImmutableSetMultimap that has a non-null valueComparator, should * we always return a new instance with a null valueComparator, as we already do if the input is * empty or a partial view? *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
*/ public static <K, V> ImmutableSetMultimap<K, V> copyOf( Multimap<? extends K, ? extends V> multimap) { checkNotNull(multimap); // eager for GWT /* * TODO(cpovirk): When given an ImmutableSetMultimap that has a non-null valueComparator, should * we always return a new instance with a null valueComparator, as we already do if the input is * empty or a partial view? *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multisets.java
* * @since 11.0 */ public static <E> ImmutableMultiset<E> copyHighestCountFirst(Multiset<E> multiset) { @SuppressWarnings("unchecked") // generics+arrays // TODO(cpovirk): Consider storing an Entry<?> instead of Entry<E>. Entry<E>[] entries = (Entry<E>[]) multiset.entrySet().toArray((Entry<E>[]) new Entry<?>[0]); Arrays.sort(entries, DecreasingCount.INSTANCE);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multisets.java
* * @since 11.0 */ public static <E> ImmutableMultiset<E> copyHighestCountFirst(Multiset<E> multiset) { @SuppressWarnings("unchecked") // generics+arrays // TODO(cpovirk): Consider storing an Entry<?> instead of Entry<E>. Entry<E>[] entries = (Entry<E>[]) multiset.entrySet().toArray((Entry<E>[]) new Entry<?>[0]); Arrays.sort(entries, DecreasingCount.INSTANCE);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
private int n; /** * Creates a new builder. The returned builder is equivalent to the builder generated by {@link * ImmutableSortedSet#orderedBy}. */ /* * TODO(cpovirk): use Object[] instead of E[] in the mainline? (The backport is different and * doesn't need this suppression, but we keep it to minimize diffs.) Generally be more clearCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 39.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
Double expected = referenceTryParse(input); assertThat(Doubles.tryParse(input)).isEqualTo(expected); if (expected != null && !Doubles.FLOATING_POINT_PATTERN.matcher(input).matches()) { // TODO(cpovirk): Use SourceCodeEscapers if it is added to Guava. StringBuilder escapedInput = new StringBuilder(); for (char c : input.toCharArray()) { if (c >= 0x20 && c <= 0x7E) { escapedInput.append(c);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 30.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertThat(logHandler.getStoredLogRecords().isEmpty()).isTrue(); } private void checkLogged(Throwable t) { assertThat(popLoggedThrowable()).isSameInstanceAs(t); } /* * TODO(cpovirk): Can we replace makeLocalCache with a call to builder.build()? Some tests may * need access to LocalCache APIs, but maybe we can at least make makeLocalCache use * builder.build() and then cast? */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 114.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertThat(logHandler.getStoredLogRecords().isEmpty()).isTrue(); } private void checkLogged(Throwable t) { assertThat(popLoggedThrowable()).isSameInstanceAs(t); } /* * TODO(cpovirk): Can we replace makeLocalCache with a call to builder.build()? Some tests may * need access to LocalCache APIs, but maybe we can at least make makeLocalCache use * builder.build() and then cast? */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 116.4K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LocalCache.java
*/ @SuppressWarnings({ "GoodTime", // lots of violations (nanosecond math) "nullness", // too much trouble for the payoff }) @GwtCompatible @NullUnmarked // TODO(cpovirk): Annotate for nullness. final class LocalCache<K, V> extends AbstractMap<K, V> implements ConcurrentMap<K, V> { /* * The basic strategy is to subdivide the table among Segments, each of which itself is aCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
import org.jspecify.annotations.Nullable; /** * Unit tests for {@code Ordering}. * * @author Jesse Wilson */ @GwtCompatible @NullMarked public class OrderingTest extends TestCase { // TODO(cpovirk): some of these are inexplicably slow (20-30s) under GWT private final Ordering<Number> numberOrdering = new NumberOrdering(); public void testAllEqual() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 43.2K bytes - Click Count (0)