- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for kevinb9n (0.06 sec)
-
android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java
linkedHashMultiset = LinkedHashMultiset.create(size); treeMultiset = TreeMultiset.create(); Random random = new Random(); int sizeRemaining = size; // TODO(kevinb): generate better test contents for multisets while (sizeRemaining > 0) { // The JVM will return interned values for small ints. Integer value = random.nextInt(1000) + 128;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
void pollAndAdd(int reps) { for (int i = 0; i < reps; i++) { // TODO(kevinb): precompute random #s? queue.add(queue.poll() ^ random.nextInt()); } } @Benchmark void populate(int reps) { for (int i = 0; i < reps; i++) { queue.clear(); for (int j = 0; j < size; j++) { // TODO(kevinb): precompute random #s? queue.add(random.nextInt()); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/NaturalOrdering.java
@Override @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this?? public int compare(Comparable<?> left, Comparable<?> right) { checkNotNull(left); // for GWT checkNotNull(right); return ((Comparable<Object>) left).compareTo(right); } @Override @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this??
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
import java.util.logging.LogRecord; import java.util.logging.Logger; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link TestLogHandler}. * * @author kevinb */ @NullUnmarked public class TestLogHandlerTest extends TestCase { private TestLogHandler handler; private final TearDownStack stack = new TearDownStack(); @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractStreamingHasher.java
* entire "chunk" (of implementation-dependent length) is ready to be hashed. * * @author Kevin Bourrillion * @author Dimitris Andreou */ // TODO(kevinb): this class still needs some design-and-document-for-inheritance love abstract class AbstractStreamingHasher extends AbstractHasher { /** Buffer via which we pass data to the hash algorithm (the implementor) */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
* * <p>This method returns the elements in the order they are returned by the collection's * iterator. * * <p>TODO(kevinb): support concurrently modified collections? * * @param c the collection for which to return an array of elements * @param array the array in which to place the collection elements
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ObjectArrays.java
* * <p>This method returns the elements in the order they are returned by the collection's * iterator. * * <p>TODO(kevinb): support concurrently modified collections? * * @param c the collection for which to return an array of elements * @param array the array in which to place the collection elements
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.9K bytes - Viewed (0)