Lines Matching refs:Task
56 class Task extends CountedCompleter<Void> {
58 Task(Task parent, int lo, int hi) {
67 new Task(this, mid, hi).fork(); // right child
68 new Task(this, lo, mid).fork(); // left child
75 new Task(null, 0, array.length).invoke();
80 class Task extends CountedCompleter<Void> {
82 Task(Task parent, int lo, int hi) {
90 new Task(this, mid, hi).fork(); // right child
91 new Task(this, lo, mid).compute(); // direct invoke
99 new Task(null, 0, array.length).invoke();
104 class Task extends CountedCompleter<Void> {
106 Task(Task parent, int lo, int hi) {
114 new Task(this, lo + n/2, lo + n).fork();
121 new Task(null, 0, array.length).invoke();
126 class Task extends CountedCompleter<Void> {
128 Task(Task parent, int lo, int hi) {
135 new Task(this, lo + n/2, lo + n).fork();
141 new Task(null, 0, array.length).invoke();