Lines Matching refs:tail
203 int tail = 0;
210 // find the head and tail of the list of records having the same
217 tail = i;
220 sublistLength = (tail - head) + 1;
222 hostports[k++] = selectHostport(srvRecords, head, tail);
229 * Randomly select a service record in the range [head, tail] and return
233 int tail) {
234 if (head == tail) {
238 // compute the running sum for records between head and tail
240 for (int i = head; i <= tail; i++) {
251 for (int i = head; i <= tail; i++) {