Searched refs:n_alloc_lines (Results 1 – 1 of 1) sorted by relevance
177 size_t n_alloc_lines = MIN (k, RESERVOIR_LINES_INCREMENT); in read_input_reservoir_sampling() local181 rsrv = xcalloc (n_alloc_lines, sizeof (struct linebuffer)); in read_input_reservoir_sampling()191 if (n_lines >= n_alloc_lines) in read_input_reservoir_sampling()193 n_alloc_lines += RESERVOIR_LINES_INCREMENT; in read_input_reservoir_sampling()194 rsrv = xnrealloc (rsrv, n_alloc_lines, sizeof (struct linebuffer)); in read_input_reservoir_sampling()