Lines Matching defs:num
34 uint HeapRegionSeq::find_contiguous_from(uint from, uint num) {
36 assert(num > 1, "use this only for sequences of length 2 or greater");
43 while (curr < len && num_so_far < num) {
57 assert(num_so_far <= num, "post-condition");
58 if (num_so_far == num) {
61 assert(first < curr && (curr - first) == num, "post-condition");
62 for (uint i = first; i < first + num; ++i) {
154 uint HeapRegionSeq::find_contiguous(uint num) {
155 assert(num > 1, "use this only for sequences of length 2 or greater");
161 uint res = find_contiguous_from(start, num);
165 res = find_contiguous_from(0, num);
169 _next_search_index = res + num;