- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for 300 (0.13 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
return new SampleElements<>( mapEntry("one", collectionOf(10000)), mapEntry("two", collectionOf(-2000)), mapEntry("three", collectionOf(300)), mapEntry("four", collectionOf(-40)), mapEntry("five", collectionOf(5))); } // javac7 can't infer the type parameters correctly in samples()
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java
} } return threadSum; } })); } threadPool.shutdown(); assertTrue(threadPool.awaitTermination(300, SECONDS)); long sum = 0; for (Future<Long> f : futures) { sum += f.get(); } assertEquals(sum, map.get(key)); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
*/ public void testInvalidatingRemove() { MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create(); mmHeap.addAll( Lists.newArrayList(1, 20, 1000, 2, 3, 30, 40, 10, 11, 12, 13, 300, 400, 500, 600)); assertEquals(15, mmHeap.size()); assertTrue("Heap is not intact initially", mmHeap.isIntact()); mmHeap.remove(12); assertEquals(14, mmHeap.size());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 36.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java
} } return threadSum; } })); } threadPool.shutdown(); assertTrue(threadPool.awaitTermination(300, SECONDS)); long sum = 0; for (Future<Long> f : futures) { sum += f.get(); } assertEquals(sum, map.get(key)); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
} @GwtIncompatible // java.time.Duration public void testLargeDurationsAreOk() { java.time.Duration threeHundredYears = java.time.Duration.ofDays(365 * 300); CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder() .expireAfterWrite(threeHundredYears) .expireAfterAccess(threeHundredYears)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 20:10:02 GMT 2023 - 25.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
return new SampleElements<>( mapEntry("one", collectionOf(10000)), mapEntry("two", collectionOf(-2000)), mapEntry("three", collectionOf(300)), mapEntry("four", collectionOf(-40)), mapEntry("five", collectionOf(5))); } // javac7 can't infer the type parameters correctly in samples()
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 8.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java
/** * Benchmarks for {@link ConcurrentHashMultiset}. * * @author mike nonemacher */ public class ConcurrentHashMultisetBenchmark { @Param({"1", "2", "4", "8"}) int threads; @Param({"3", "30", "300"}) int size; @Param MultisetSupplier implSupplier; private Multiset<Integer> multiset; private ImmutableList<Integer> keys; private ExecutorService threadPool; @BeforeExperiment
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 16.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/InetAddressesTest.java
ImmutableSet.of( "2001:db8::5efe:102:304", "2001:db8::100:5efe:102:304", // Private Multicast? Not likely. "2001:db8::200:5efe:102:304", "2001:db8::300:5efe:102:304" // Public Multicast? Also unlikely. ); ImmutableSet<String> nonIsatapAddresses = ImmutableSet.of( "::1.2.3.4", "3ffe::1", "::",
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 31.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/InetAddressesTest.java
ImmutableSet.of( "2001:db8::5efe:102:304", "2001:db8::100:5efe:102:304", // Private Multicast? Not likely. "2001:db8::200:5efe:102:304", "2001:db8::300:5efe:102:304" // Public Multicast? Also unlikely. ); ImmutableSet<String> nonIsatapAddresses = ImmutableSet.of( "::1.2.3.4", "3ffe::1", "::",
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 31.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
assertEquals(ImmutableList.of(-1, 3, foo, bar), result); } @GwtIncompatible // slow public void testLeastOf_reconcileAgainstSortAndSublist() { runLeastOfComparison(1000, 300, 20); } public void testLeastOf_reconcileAgainstSortAndSublistSmall() { runLeastOfComparison(10, 30, 2); } private static void runLeastOfComparison(int iterations, int elements, int seeds) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.5K bytes - Viewed (0)