HomeSort by: relevance | last modified time | path
    Searched refs:RANDOM (Results 1 - 23 of 23) sorted by relevancy

  /src/games/dab/
random.cc 1 /* $NetBSD: random.cc,v 1.4 2021/12/05 09:22:45 rillig Exp $ */
37 RCSID("$NetBSD: random.cc,v 1.4 2021/12/05 09:22:45 rillig Exp $")
41 #include "random.h"
43 RANDOM::RANDOM(size_t ns) :
50 RANDOM::~RANDOM()
56 void RANDOM::clear(void)
63 // Return the next random value
64 size_t RANDOM::operator() (void
    [all...]
random.h 1 /* $NetBSD: random.h,v 1.5 2021/12/05 09:22:45 rillig Exp $ */
33 * Randomizer; returns a random sequence of values from [0..fx) returning each
42 class RANDOM {
45 RANDOM(size_t fx);
46 ~RANDOM();
48 size_t operator () (void); // Next random
test.cc 40 #include "random.h"
45 RANDOM rd(10);
algor.cc 42 #include "random.h"
59 RANDOM rdy(b.ny()), rdx(b.nx());
165 // We use a random direction to randomize the game
166 RANDOM rd(BOX::last);
188 RANDOM rdy(b.ny()), rdx(b.nx());
223 RANDOM rdy(b.ny()), rdx(b.nx());
  /src/games/hunt/include/
hunt_common.h 37 * to Test_port. They're just random numbers greater than the
58 #if !defined(REFLECT) && !defined(RANDOM)
59 #define RANDOM
  /src/tests/bin/sh/
t_input.sh 161 # Now just insert \0's in random locations in the script,
166 test "${RANDOM}" = "${RANDOM}" &&
167 atf_skip 'ATF shell does not support $RANDOM'
  /src/games/hunt/huntd/
expl.c 92 #ifdef RANDOM
211 #ifdef RANDOM
makemaze.c 197 #ifdef RANDOM
shots.c 270 #ifdef RANDOM
350 #ifndef RANDOM
621 #ifdef RANDOM
763 #ifdef RANDOM
966 #ifdef RANDOM
execute.c 221 #ifdef RANDOM
  /src/lib/librumpuser/build-aux/
install-sh 348 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
  /src/sys/external/isc/libsodium/dist/build-aux/
install-sh 327 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
ltmain.sh 905 # Failing that, at least try and use $RANDOM to avoid a race
906 _G_tmpdir=$_G_template-${RANDOM-0}$$
  /src/sys/external/isc/libsodium/dist/
install-sh 348 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
configure 1495 --enable-blocking-random
4439 # Check whether --enable-blocking-random was given.
13614 # consuming and fragmenting process. To avoid this, we pick a random,
13617 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13618 archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
20274 tmp=./conf$$-$RANDOM
  /src/tests/net/if_vlan/
t_vlan.sh 389 if [ "${RANDOM:-0}" != "${RANDOM:-0}" ]
391 for TAG in $(( ${RANDOM:-0} % 4092 + 2 )) \
392 $(( ${RANDOM:-0} % 4092 + 2 )) \
393 $(( ${RANDOM:-0} % 4092 + 2 ))
  /src/bin/sh/
var.c 190 { &random_num, VSTRFIXED|VTEXTFIXED|VFUNCREF|VSPECIAL, "RANDOM=",
1633 #define random lrand48 macro
1649 * or explicitly requesting a truly random seed.
1654 out2str("RANDOM initialisation failed\n");
1673 random_val = (random_val + 1) & 0x7FFF; /* 15 bit "random" numbers */
1675 random_val = (random() >> 5) & 0x7FFF;
1692 #undef random
  /src/dist/pf/sbin/pfctl/
parse.y 419 %token BITMASK RANDOM SOURCEHASH ROUNDROBIN STATICPORT PROBABILITY
1023 yyerror("random-id cannot be respecified");
3409 | RANDOM {
4963 { "random", RANDOM},
4964 { "random-id", RANDOMID},
  /src/tools/host-mkdep/
configure 2263 tmp=$TMPDIR/cs$$-$RANDOM
  /src/tools/make/
configure 4286 tmp=./conf$$-$RANDOM
  /src/lib/librumpuser/
configure 4924 tmp=./conf$$-$RANDOM
  /src/sys/external/isc/libsodium/dist/m4/
libtool.m4 5169 # consuming and fragmenting process. To avoid this, we pick a random,
5172 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
5173 _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6896 # consuming and fragmenting process. To avoid this, we pick a random,
6899 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6900 _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  /src/tools/compat/
configure 6415 ac_fn_c_check_func "$LINENO" "random" "ac_cv_func_random"
8786 tmp=./conf$$-$RANDOM

Completed in 189 milliseconds