Home
last modified time | relevance | path

Searched refs:random (Results 1 – 12 of 12) sorted by relevance

/coreutils/tests/sort/
Dsort-rand.sh25 sort --random-sort in > out || fail=1
38 locale=$(locale -a | sort --random-sort | $AWK '/^.._/{print;exit}')
39 LC_ALL=$locale sort --random-sort in > out1 || fail=1
40 LC_ALL=$locale sort --random-sort in > out2 || fail=1
Dsort-merge-fdlimit.sh46 for randsource in '' --random-source=some-data; do
48 && sort -mR $randsource --batch-size=16 in/* 2>err/merge-random-err \
49 || ! grep "open failed" err/merge-random-err) || fail=1
/coreutils/man/
Dshuf.x2 shuf \- generate random permutations
/coreutils/gl/modules/
Drandint2 Generate random integers.
Drandperm2 Generate random permutations.
Drandread2 Generate buffers of random data.
/coreutils/tests/shuf/
Dshuf.sh107 { shuf -i0-9 --random-source A --random-source B || test $? -ne 1; } &&
/coreutils/tests/shred/
Dshred-passes.sh79 shred -v -u -n20 -s4096 --random-source=Us f 2>out || fail=1
/coreutils/src/
Dsort.c213 bool random; /* Sort by random hash of key. */ member
2383 || key->random in default_key_compare()
2409 if (key->random) in key_to_opts()
2516 ugkey.random &= !key->random; in key_warnings()
2645 || key->month || key->random || key->version) in keycompare()
2700 else if (key->random) in keycompare()
4141 + key->month + (key->version | key->random | !!key->ignore))) in check_ordering_compatibility()
4244 key->random = true; in set_ordering()
4727 key->random = gkey.random; in main()
4731 need_random |= key->random; in main()
[all …]
/coreutils/doc/
Dcoreutils.texi233 * Random sources:: Sources of random data
803 * Random sources:: @option{--random-source}.
1207 @section Sources of random data
1209 @cindex random sources
1212 sometimes need random data to do their work. For example, @samp{sort
1213 -R} must choose a hash function at random, and it needs random data to
1216 By default these commands use an internal pseudo-random generator
1218 an external source with the @option{--random-source=@var{file}} option.
1222 source of random data. Typically, this device gathers environmental
1224 uses the pool to generate random bits. If the pool is short of data,
[all …]
/coreutils/tests/
Dlocal.mk377 tests/sort/sort-benchmark-random.sh \
/coreutils/
DNEWS1235 Previously it would have output random data from memory.
3349 This is mainly noticeable in shred where the 3 random passes it does by
3692 general-numeric, month, numeric or random. These are equivalent to the
3694 and --random-sort/-R, resp.
4410 shred and sort now accept the --random-source option.
4412 sort now accepts the --random-sort (-R) option and 'R' ordering option.