Searched refs:new_heads (Results 1 – 2 of 2) sorted by relevance
3333 struct request **old_heads = base->req_heads, **new_heads, *req; in evdns_base_set_max_requests_inflight() local3341 new_heads = mm_calloc(n_heads, sizeof(struct request*)); in evdns_base_set_max_requests_inflight()3342 if (!new_heads) in evdns_base_set_max_requests_inflight()3349 evdns_request_insert(req, &new_heads[req->trans_id % n_heads]); in evdns_base_set_max_requests_inflight()3354 base->req_heads = new_heads; in evdns_base_set_max_requests_inflight()
1964 new_heads = len(hg_heads(ui, repo).split())1965 if old_heads != new_heads and not (old_heads == 0 and new_heads == 1):