Home
last modified time | relevance | path

Searched refs:permutation (Results 1 – 2 of 2) sorted by relevance

/coreutils/src/
Dshuf.c238 size_t const *permutation) in write_permuted_output_reservoir() argument
242 const struct linebuffer *p = &lines[permutation[i]]; in write_permuted_output_reservoir()
302 size_t const *permutation) in write_permuted_lines() argument
306 char *const *p = line + permutation[i]; in write_permuted_lines()
319 size_t const *permutation, char eolbyte) in write_permuted_numbers() argument
323 unsigned long int n = lo_input + permutation[i]; in write_permuted_numbers()
390 size_t *permutation = nullptr; in main() local
567 permutation = randperm_new (randint_source, ahead_lines, n_lines); in main()
591 i = write_permuted_output_reservoir (n_lines, reservoir, permutation); in main()
594 permutation, eolbyte); in main()
[all …]
/coreutils/doc/
Dcoreutils.texi4728 like a random permutation of the inputs (@pxref{shuf invocation}),
5167 @command{shuf} shuffles its input by outputting a random permutation
5168 of its input lines. Each output permutation is equally likely.
5227 permutation to generate. @xref{Random sources}.
5235 option the output is not a permutation of the input; instead, each