Searched refs:ntasks (Results 1 – 1 of 1) sorted by relevance
157 int ntasks = tasks.size(); in doInvokeAny() local158 if (ntasks == 0) in doInvokeAny()160 ArrayList<Future<T>> futures = new ArrayList<>(ntasks); in doInvokeAny()179 --ntasks; in doInvokeAny()185 if (ntasks > 0) { in doInvokeAny()186 --ntasks; in doInvokeAny()