Searched refs:ntasks (Results 1 – 5 of 5) sorted by relevance
43 int ntasks = tasks.size(); in doInvokeAny() local44 if (ntasks == 0) in doInvokeAny()46 List<Future<T>> futures= new ArrayList<Future<T>>(ntasks); in doInvokeAny()56 --ntasks; in doInvokeAny()62 if (ntasks > 0) { in doInvokeAny()63 --ntasks; in doInvokeAny()
23 int ntasks = 100; variable168 ntasks = strtol(optarg, NULL, 10); in main()233 *nr_children_running = ntasks; in main()235 for (childno = 0; childno < ntasks; childno++) { in main()244 for (i = 0; i < ntasks; i++) { in main()
676 int ntasks = tasks.size(); in invokeAnyImpl() local677 checkArgument(ntasks > 0); in invokeAnyImpl()678 List<Future<T>> futures = Lists.newArrayListWithCapacity(ntasks); in invokeAnyImpl()695 --ntasks; in invokeAnyImpl()701 if (ntasks > 0) { in invokeAnyImpl()702 --ntasks; in invokeAnyImpl()
566 size_t ntasks; in open_pid() local569 if (process_tasks(pid, &tasks, &ntasks) < 0) { in open_pid()576 for (i = 0; i < ntasks; ++i) in open_pid()583 if (have_all && old_ntasks == ntasks) in open_pid()585 old_ntasks = ntasks; in open_pid()
259 pid_t *ntasks = realloc(tasks, in process_tasks() local261 if (ntasks == NULL) in process_tasks()263 tasks = ntasks; in process_tasks()