- Sort Score
- Result 10 results
- Languages All
Results 1391 - 1400 of 1,842 for Pong (0.03 sec)
-
guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
} public void testAddAllPrimitiveLongStream() { StatsAccumulator accumulator = new StatsAccumulator(); accumulator.addAll(megaPrimitiveDoubleStreamPart1().mapToLong(x -> (long) x)); accumulator.addAll(megaPrimitiveDoubleStreamPart2().mapToLong(x -> (long) x)); assertThat(accumulator.count()).isEqualTo(MEGA_STREAM_COUNT); assertThat(accumulator.mean()).isWithin(ALLOWED_ERROR * MEGA_STREAM_COUNT).of(MEGA_STREAM_MEAN);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 36.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
assertEquals( Integer.MAX_VALUE, Collections2.orderedPermutations(newArrayList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)) .size()); // 21 elements overflow a long assertEquals( Integer.MAX_VALUE, Collections2.orderedPermutations( newArrayList( 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 10:16:44 UTC 2024 - 19.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
} @Override public Iterator<E> descendingIterator() { assertTrue(Thread.holdsLock(mutex)); return delegate.descendingIterator(); } private static final long serialVersionUID = 0; } @SuppressWarnings("CheckReturnValue") public void testHoldsLockOnAllOperations() { create().element(); create().offer("foo"); create().peek(); create().poll();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 7.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EnumBiMap.java
Serialization.populateMap(this, stream); } @GwtIncompatible // not needed in emulated source. private static final long serialVersionUID = 0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Aug 24 01:40:03 UTC 2023 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableTable.java
ImmutableSet<C> columnSpace) { // use a dense table if more than half of the cells have values // TODO(gak): tune this condition based on empirical evidence return (cellList.size() > (((long) rowSpace.size() * columnSpace.size()) / 2)) ? new DenseImmutableTable<R, C, V>(cellList, rowSpace, columnSpace) : new SparseImmutableTable<R, C, V>(cellList, rowSpace, columnSpace); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumBiMap.java
Serialization.populateMap(this, stream); } @GwtIncompatible // not needed in emulated source. private static final long serialVersionUID = 0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Aug 24 01:40:03 UTC 2023 - 6.3K bytes - Viewed (0) -
docs/hotfixes.md
write/flush after response handler has returned. ``` ``` λ git cherry-pick 4f3317effea38c203c358af9cb5ce3c0e4173976 ```
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 14 21:36:02 UTC 2024 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
public void testHash_hashesCorrectlyForSkipping() throws Exception { HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'}); HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer); long numOfByteSkipped = in.skip(2); assertEquals(2, numOfByteSkipped); byte[] buf = new byte[4]; int numOfByteRead = in.read(buf, 0, buf.length); assertEquals(2, numOfByteRead);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 02 16:24:50 UTC 2020 - 5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
* currently skipping MediumTests on Android, and we skip them by not making them present at * runtime at all. I could just make _this_ test a MediumTest, but then it wouldn't run on * Android.... The right long-term fix is probably to get MediumTests running under Android by * default and then suppress them strategically as needed. */ public static final class ConcretePackageSanityTests extends AbstractPackageSanityTests {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 21:37:55 UTC 2019 - 5.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
public void testHash_hashesCorrectlyForSkipping() throws Exception { HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'}); HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer); long numOfByteSkipped = in.skip(2); assertEquals(2, numOfByteSkipped); byte[] buf = new byte[4]; int numOfByteRead = in.read(buf, 0, buf.length); assertEquals(2, numOfByteRead);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 02 16:24:50 UTC 2020 - 5K bytes - Viewed (0)