Home
last modified time | relevance | path

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

12

/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 …]
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 …]
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 …]
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()
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 …]
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 …]
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/test/java/util/concurrent/tck/
DAbstractExecutorServiceTest.java347 e.invokeAll(null); in testInvokeAll1()
359 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>()); in testInvokeAll2()
374 e.invokeAll(l); in testInvokeAll3()
388 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll4()
408 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll5()
516 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS);
531 e.invokeAll(l, MEDIUM_DELAY_MS, null);
543 …List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECO…
558 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS);
573 e.invokeAll(l, LONG_DELAY_MS, MILLISECONDS);
[all …]
DForkJoinPool8Test.java222 invokeAll(f1, f2); in realCompute()
240 invokeAll(f1, f2); in compute()
714 invokeAll(f, g); in testInvokeAll2()
730 invokeAll(f); in testInvokeAll1()
746 invokeAll(f, g, h); in testInvokeAll3()
773 invokeAll(set); in testInvokeAllCollection()
797 invokeAll(f, g, h); in testInvokeAllNPE()
813 invokeAll(f, g); in testAbnormalInvokeAll2()
830 invokeAll(g); in testAbnormalInvokeAll1()
849 invokeAll(f, g, h); in testAbnormalInvokeAll3()
[all …]
DForkJoinTaskTest.java833 invokeAll(f, g);
849 invokeAll(f);
865 invokeAll(f, g, h);
889 invokeAll(set);
910 invokeAll(f, g, h);
928 invokeAll(tasks);
945 invokeAll(g);
966 invokeAll(tasks);
987 invokeAll(Arrays.asList(tasks));
1502 invokeAll(f, g);
[all …]
DForkJoinTask8Test.java811 invokeAll(f);
833 invokeAll(tasks[0], tasks[1]);
857 invokeAll(tasks[0], tasks[1], tasks[2]);
881 invokeAll(Arrays.asList(tasks));
902 () -> invokeAll(nul),
903 () -> invokeAll(nul, nul),
904 () -> invokeAll(new AsyncFib(8), new AsyncFib(9), nul),
905 () -> invokeAll(new AsyncFib(8), nul, new AsyncFib(9)),
906 () -> invokeAll(nul, new AsyncFib(8), new AsyncFib(9)),
927 invokeAll(g);
[all …]
DCountedCompleterTest.java1048 invokeAll(f, g); in testInvokeAll2()
1064 invokeAll(f); in testInvokeAll1()
1080 invokeAll(f, g, h); in testInvokeAll3()
1104 invokeAll(set); in testInvokeAllCollection()
1125 invokeAll(f, g, h); in testInvokeAllNPE()
1141 invokeAll(f, g); in testAbnormalInvokeAll2()
1158 invokeAll(g); in testAbnormalInvokeAll1()
1177 invokeAll(f, g, h); in testAbnormalInvokeAll3()
1200 invokeAll(set); in testAbnormalInvokeAllCollection()
1713 invokeAll(f, g); in testInvokeAll2Singleton()
[all …]
DForkJoinPoolTest.java727 e.invokeAll(null); in testInvokeAll1()
740 = e.invokeAll(new ArrayList<Callable<String>>()); in testInvokeAll2()
755 e.invokeAll(l); in testInvokeAll3()
770 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll4()
790 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll5()
899 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS);
914 e.invokeAll(l, MEDIUM_DELAY_MS, null);
927 = e.invokeAll(new ArrayList<Callable<String>>(),
943 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS);
958 = e.invokeAll(l, LONG_DELAY_MS, MILLISECONDS);
[all …]
DRecursiveActionTest.java211 invokeAll(f1, f2); in realCompute()
229 invokeAll(f1, f2); in compute()
895 invokeAll(f, g); in testInvokeAll2()
911 invokeAll(f); in testInvokeAll1()
927 invokeAll(f, g, h); in testInvokeAll3()
954 invokeAll(set); in testInvokeAllCollection()
978 invokeAll(f, g, h); in testInvokeAllNPE()
994 invokeAll(f, g); in testAbnormalInvokeAll2()
1011 invokeAll(g); in testAbnormalInvokeAll1()
1030 invokeAll(f, g, h); in testAbnormalInvokeAll3()
[all …]
DRecursiveTaskTest.java725 invokeAll(f, g); in testInvokeAll2()
740 invokeAll(f); in testInvokeAll1()
756 invokeAll(f, g, h); in testInvokeAll3()
781 invokeAll(set); in testInvokeAllCollection()
803 invokeAll(f, g, h); in testInvokeAllNPE()
820 invokeAll(f, g); in testAbnormalInvokeAll2()
838 invokeAll(g); in testAbnormalInvokeAll1()
858 invokeAll(f, g, h); in testAbnormalInvokeAll3()
882 invokeAll(set); in testAbnormalInvokeAllCollection()
DScheduledExecutorSubclassTest.java1020 e.invokeAll(null); in testInvokeAll1()
1032 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>()); in testInvokeAll2()
1047 e.invokeAll(l); in testInvokeAll3()
1061 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll4()
1081 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll5()
1189 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS);
1204 e.invokeAll(l, MEDIUM_DELAY_MS, null);
1216 …List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECO…
1231 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS);
1246 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS);
[all …]
DScheduledExecutorTest.java968 e.invokeAll(null); in testInvokeAll1()
980 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>()); in testInvokeAll2()
995 e.invokeAll(l); in testInvokeAll3()
1009 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll4()
1029 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll5()
1137 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS);
1152 e.invokeAll(l, MEDIUM_DELAY_MS, null);
1164 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>(),
1180 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS);
1195 e.invokeAll(l, LONG_DELAY_MS, MILLISECONDS);
[all …]
DThreadPoolExecutorSubclassTest.java1594 e.invokeAll(null); in testInvokeAll1()
1609 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>()); in testInvokeAll2()
1627 e.invokeAll(l); in testInvokeAll3()
1644 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll4()
1667 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll5()
1797 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS);
1815 e.invokeAll(l, MEDIUM_DELAY_MS, null);
1830 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>(),
1849 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS);
1867 e.invokeAll(l, LONG_DELAY_MS, MILLISECONDS);
[all …]
DThreadPoolExecutorTest.java1596 e.invokeAll(null); in testInvokeAll1()
1611 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>()); in testInvokeAll2()
1629 e.invokeAll(l); in testInvokeAll3()
1646 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll4()
1669 List<Future<String>> futures = e.invokeAll(l); in testInvokeAll5()
1799 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS);
1817 e.invokeAll(l, MEDIUM_DELAY_MS, null);
1832 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>(),
1851 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS);
1869 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);

12