Home
last modified time | relevance | path

Searched refs:invokeAll (Results 1 – 18 of 18) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractExecutorServiceTest.java324 e.invokeAll(null); in testInvokeAll1()
336 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>()); in testInvokeAll2()
351 e.invokeAll(l); in testInvokeAll3()
365 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll4()
385 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll5()
493 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS);
508 e.invokeAll(l, MEDIUM_DELAY_MS, null);
520 …List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECO…
535 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS);
550 e.invokeAll(l, LONG_DELAY_MS, MILLISECONDS);
[all …]
DForkJoinPool8Test.java198 invokeAll(f1, f2); in realCompute()
216 invokeAll(f1, f2); in compute()
696 invokeAll(f, g); in testInvokeAll2()
712 invokeAll(f); in testInvokeAll1()
728 invokeAll(f, g, h); in testInvokeAll3()
755 invokeAll(set); in testInvokeAllCollection()
779 invokeAll(f, g, h); in testInvokeAllNPE()
795 invokeAll(f, g); in testAbnormalInvokeAll2()
812 invokeAll(g); in testAbnormalInvokeAll1()
831 invokeAll(f, g, h); in testAbnormalInvokeAll3()
[all …]
DForkJoinTaskTest.java811 invokeAll(f, g);
827 invokeAll(f);
843 invokeAll(f, g, h);
867 invokeAll(set);
888 invokeAll(f, g, h);
906 invokeAll(tasks);
923 invokeAll(g);
944 invokeAll(tasks);
966 invokeAll(taskList);
1481 invokeAll(f, g);
[all …]
DForkJoinTask8Test.java788 invokeAll(f);
810 invokeAll(tasks[0], tasks[1]);
834 invokeAll(tasks[0], tasks[1], tasks[2]);
858 invokeAll(Arrays.asList(tasks));
879 () -> invokeAll(nul),
880 () -> invokeAll(nul, nul),
881 () -> invokeAll(new AsyncFib(8), new AsyncFib(9), nul),
882 () -> invokeAll(new AsyncFib(8), nul, new AsyncFib(9)),
883 () -> invokeAll(nul, new AsyncFib(8), new AsyncFib(9)),
904 invokeAll(g);
[all …]
DForkJoinPoolTest.java709 e.invokeAll(null); in testInvokeAll1()
722 = e.invokeAll(new ArrayList<Callable<String>>()); in testInvokeAll2()
737 e.invokeAll(l); in testInvokeAll3()
752 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll4()
772 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll5()
881 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS);
896 e.invokeAll(l, MEDIUM_DELAY_MS, null);
909 = e.invokeAll(new ArrayList<Callable<String>>(),
925 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS);
940 = e.invokeAll(l, LONG_DELAY_MS, MILLISECONDS);
[all …]
DCountedCompleterTest.java1023 invokeAll(f, g); in testInvokeAll2()
1039 invokeAll(f); in testInvokeAll1()
1055 invokeAll(f, g, h); in testInvokeAll3()
1079 invokeAll(set); in testInvokeAllCollection()
1100 invokeAll(f, g, h); in testInvokeAllNPE()
1116 invokeAll(f, g); in testAbnormalInvokeAll2()
1133 invokeAll(g); in testAbnormalInvokeAll1()
1152 invokeAll(f, g, h); in testAbnormalInvokeAll3()
1175 invokeAll(set); in testAbnormalInvokeAllCollection()
1688 invokeAll(f, g); in testInvokeAll2Singleton()
[all …]
DRecursiveActionTest.java187 invokeAll(f1, f2); in realCompute()
205 invokeAll(f1, f2); in compute()
883 invokeAll(f, g); in testInvokeAll2()
899 invokeAll(f); in testInvokeAll1()
915 invokeAll(f, g, h); in testInvokeAll3()
942 invokeAll(set); in testInvokeAllCollection()
966 invokeAll(f, g, h); in testInvokeAllNPE()
982 invokeAll(f, g); in testAbnormalInvokeAll2()
999 invokeAll(g); in testAbnormalInvokeAll1()
1018 invokeAll(f, g, h); in testAbnormalInvokeAll3()
[all …]
DRecursiveTaskTest.java702 invokeAll(f, g); in testInvokeAll2()
717 invokeAll(f); in testInvokeAll1()
733 invokeAll(f, g, h); in testInvokeAll3()
758 invokeAll(set); in testInvokeAllCollection()
780 invokeAll(f, g, h); in testInvokeAllNPE()
797 invokeAll(f, g); in testAbnormalInvokeAll2()
815 invokeAll(g); in testAbnormalInvokeAll1()
835 invokeAll(f, g, h); in testAbnormalInvokeAll3()
859 invokeAll(set); in testAbnormalInvokeAllCollection()
DScheduledExecutorTest.java947 e.invokeAll(null); in testInvokeAll1()
959 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>()); in testInvokeAll2()
974 e.invokeAll(l); in testInvokeAll3()
988 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll4()
1008 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll5()
1116 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS);
1131 e.invokeAll(l, MEDIUM_DELAY_MS, null);
1143 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>(),
1159 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS);
1174 e.invokeAll(l, LONG_DELAY_MS, MILLISECONDS);
[all …]
DScheduledExecutorSubclassTest.java998 e.invokeAll(null); in testInvokeAll1()
1010 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>()); in testInvokeAll2()
1025 e.invokeAll(l); in testInvokeAll3()
1039 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll4()
1059 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll5()
1167 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS);
1182 e.invokeAll(l, MEDIUM_DELAY_MS, null);
1194 …List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECO…
1209 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS);
1224 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS);
[all …]
DThreadPoolExecutorTest.java1579 e.invokeAll(null); in testInvokeAll1()
1594 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>()); in testInvokeAll2()
1612 e.invokeAll(l); in testInvokeAll3()
1629 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll4()
1652 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll5()
1782 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS);
1800 e.invokeAll(l, MEDIUM_DELAY_MS, null);
1815 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>(),
1834 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS);
1852 e.invokeAll(l, LONG_DELAY_MS, MILLISECONDS);
[all …]
DThreadPoolExecutorSubclassTest.java1572 e.invokeAll(null); in testInvokeAll1()
1587 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>()); in testInvokeAll2()
1605 e.invokeAll(l); in testInvokeAll3()
1622 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll4()
1645 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll5()
1775 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS);
1793 e.invokeAll(l, MEDIUM_DELAY_MS, null);
1808 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>(),
1827 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS);
1845 e.invokeAll(l, LONG_DELAY_MS, MILLISECONDS);
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutorService.java277 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll() method
308 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, in invokeAll() method
DExecutors.java648 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks)
650 return e.invokeAll(tasks);
652 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks,
655 return e.invokeAll(tasks, timeout, unit);
DAbstractExecutorService.java233 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll() method in AbstractExecutorService
259 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, in invokeAll() method in AbstractExecutorService
DForkJoinTask.java748 public static void invokeAll(ForkJoinTask<?> t1, ForkJoinTask<?> t2) { in invokeAll() method in ForkJoinTask
772 public static void invokeAll(ForkJoinTask<?>... tasks) { in invokeAll() method in ForkJoinTask
817 public static <T extends ForkJoinTask<?>> Collection<T> invokeAll(Collection<T> tasks) { in invokeAll() method in ForkJoinTask
819 invokeAll(tasks.toArray(new ForkJoinTask<?>[tasks.size()])); in invokeAll()
DForkJoinPool.java2835 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) { in invokeAll() method in ForkJoinPool
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DExecutors.java230 public <T> java.util.List<java.util.concurrent.Future<T>> invokeAll( in invokeAll() method in Executors.DelegatedExecutorService
236 public <T> java.util.List<java.util.concurrent.Future<T>> invokeAll( in invokeAll() method in Executors.DelegatedExecutorService