- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 252 for Povirk (0.04 seconds)
-
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
FROM_DECLARATION_AND_TYPE_USE_ANNOTATIONS { @Override boolean isNullable(Invokable<?, ?> invokable) { return FROM_DECLARATION_ANNOTATIONS_ONLY.isNullable(invokable) ; // TODO(cpovirk): Should we also check isNullableTypeVariable? } @Override boolean isNullable(Parameter param) { return FROM_DECLARATION_ANNOTATIONS_ONLY.isNullable(param) ; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 24.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
} private static File fullpath(String path) { return new File(new File(path).toURI()); } private static URL makeJarUrlWithName(String name) throws IOException { /* * TODO: cpovirk - Use java.nio.file.Files.createTempDirectory instead of * c.g.c.io.Files.createTempDir? */ File fullPath = new File(Files.createTempDir(), name); File jarFile = pickAnyJarFile();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 25.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
} /** * Creates and returns a new builder, configured to build {@code MinMaxPriorityQueue} instances * that use {@code comparator} to determine the least and greatest elements. */ /* * TODO(cpovirk): Change to Comparator<? super B> to permit Comparator<@Nullable ...> and * Comparator<SupertypeOfB>? What we have here matches the immutable collections, but those alsoCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 33.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
stream.defaultReadObject(); int size = stream.readInt(); init(16); // resist hostile attempts to allocate gratuitous heap Serialization.populateMap(this, stream, size); } // TODO(cpovirk): Should we have a serialVersionUID here?
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 16 14:46:34 GMT 2025 - 37.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
current.pred = null; current.succ = null; current = next; } successor(header, header); rootReference.clear(); } else { // TODO(cpovirk): Perhaps we can optimize in this case, too? Iterators.clear(entryIterator()); } } private Entry<E> wrapEntry(AvlNode<E> baseEntry) { return new Multisets.AbstractEntry<E>() { @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 33.9K 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 Dec 26 12:43:10 GMT 2025 - 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 Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.2K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
private static void shouldPass(Object instance) { shouldPass(instance, Visibility.PACKAGE); shouldPass(instance, Visibility.PROTECTED); shouldPass(instance, Visibility.PUBLIC); } // TODO(cpovirk): eliminate surprising Object/Class overloading of shouldFail private static void shouldFail(Object instance, Visibility visibility) { try { new NullPointerTester().testInstanceMethods(instance, visibility);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 47.8K 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 Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 117.5K 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 Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 115.9K bytes - Click Count (0)