Searched refs:rsrv (Results 1 – 1 of 1) sorted by relevance
179 struct linebuffer *rsrv; in read_input_reservoir_sampling() local181 rsrv = xcalloc (n_alloc_lines, sizeof (struct linebuffer)); in read_input_reservoir_sampling()186 readlinebuffer_delim (&rsrv[n_lines], in, eolbyte)) != nullptr) in read_input_reservoir_sampling()194 rsrv = xnrealloc (rsrv, n_alloc_lines, sizeof (struct linebuffer)); in read_input_reservoir_sampling()195 memset (&rsrv[n_lines], 0, in read_input_reservoir_sampling()218 line = (j < k) ? (&rsrv[j]) : (&dummy); in read_input_reservoir_sampling()232 *out_rsrv = rsrv; in read_input_reservoir_sampling()