- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for 500 (0.12 sec)
-
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/collect/ImmutableMapTest.java
String value = String.valueOf(i); builder.put(key, value); expected.put(key, value); } ImmutableMap<Integer, String> map = builder.buildKeepingLast(); assertThat(map).hasSize(500); assertThat(map).containsExactlyEntriesIn(expected).inOrder(); } // This method tests the int case. public void testBuildKeepingLast_bigTable() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 27 13:27:08 GMT 2024 - 41.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
return new String(new char[50_000]); } }; List<Object> list = Collections.singletonList(object); for (int i = 0; i < 10; i++) { Object[] array = new Object[500]; Arrays.fill(array, list); list = Arrays.asList(array); } future2.set(list); unused = future.toString(); } public void testToString_notDone() throws Exception {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 46.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
ticker.advance(10, MILLISECONDS); // so that the next call will trigger refresh assertThat(cache.getOrLoad("test")).isEqualTo("testLoad"); reloadStarted.await(); ticker.advance(500, MILLISECONDS); // so that the entry expires during the reload threadAboutToBlockForRefresh.set(Thread.currentThread()); assertThat(cache.getOrLoad("test")).isEqualTo("testReload"); } finally {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 14 23:06:48 GMT 2024 - 112.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
ticker.advance(10, MILLISECONDS); // so that the next call will trigger refresh assertThat(cache.getOrLoad("test")).isEqualTo("testLoad"); reloadStarted.await(); ticker.advance(500, MILLISECONDS); // so that the entry expires during the reload threadAboutToBlockForRefresh.set(Thread.currentThread()); assertThat(cache.getOrLoad("test")).isEqualTo("testReload"); } finally {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 14 23:06:48 GMT 2024 - 110.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
public void testCancellingAllDelegatesIsNotQuadratic() throws Exception { ImmutableList.Builder<SettableFuture<Long>> builder = ImmutableList.builder(); for (int i = 0; i < 500_000; i++) { builder.add(SettableFuture.<Long>create()); } ImmutableList<SettableFuture<Long>> inputs = builder.build(); ImmutableList<ListenableFuture<Long>> delegates = inCompletionOrder(inputs);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
public void testCancellingAllDelegatesIsNotQuadratic() throws Exception { ImmutableList.Builder<SettableFuture<Long>> builder = ImmutableList.builder(); for (int i = 0; i < 500_000; i++) { builder.add(SettableFuture.<Long>create()); } ImmutableList<SettableFuture<Long>> inputs = builder.build(); ImmutableList<ListenableFuture<Long>> delegates = inCompletionOrder(inputs);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
String value = String.valueOf(i); builder.put(key, value); expected.put(key, value); } ImmutableMap<Integer, String> map = builder.buildKeepingLast(); assertThat(map).hasSize(500); assertThat(map).containsExactlyEntriesIn(expected).inOrder(); } // This method tests the int case. public void testBuildKeepingLast_bigTable() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 14:39:16 GMT 2024 - 37.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
return new String(new char[50_000]); } }; List<Object> list = Collections.singletonList(object); for (int i = 0; i < 10; i++) { Object[] array = new Object[500]; Arrays.fill(array, list); list = Arrays.asList(array); } future2.set(list); unused = future.toString(); } public void testToString_notDone() throws Exception {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 46.8K bytes - Viewed (0) -
android/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 May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 36.1K bytes - Viewed (0)