Home
last modified time | relevance | path

Searched refs:ntasks (Results 1 – 5 of 5) sorted by relevance

/external/guava/guava-bootstrap/src/java/util/concurrent/
DAbstractExecutorService.java43 int ntasks = tasks.size(); in doInvokeAny() local
44 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()
/external/autotest/client/tests/rmaptest/src/
Drmap-test.c23 int ntasks = 100; variable
168 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()
/external/guava/guava/src/com/google/common/util/concurrent/
DMoreExecutors.java676 int ntasks = tasks.size(); in invokeAnyImpl() local
677 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()
/external/ltrace/
Dproc.c566 size_t ntasks; in open_pid() local
569 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()
/external/ltrace/sysdeps/linux-gnu/
Dproc.c259 pid_t *ntasks = realloc(tasks, in process_tasks() local
261 if (ntasks == NULL) in process_tasks()
263 tasks = ntasks; in process_tasks()