Searched refs:random (Results 1 - 25 of 47) sorted by relevance

12

/haiku-fatelf/src/bin/coreutils/man/
H A Dshuf.x2 shuf \- generate random permutations
/haiku-fatelf/src/libs/compat/freebsd_network/
H A Dlibkern.c13 return random();
/haiku-fatelf/src/bin/gawk/
H A Drandom.h2 * random.h - redefine name of random lib routines to avoid conflicts
32 #define random gawk_random macro
42 extern long random __P((void));
H A Dcustom.h68 #define random rand macro
H A DMakefile.am102 random.c \
103 random.h \
H A Dconfig.h518 #define random rand macro
H A Drandom.c33 * $FreeBSD: src/lib/libc/stdlib/random.c,v 1.13 2000/01/27 23:06:49 jasone Exp $
38 static const char sccsid[] = "@(#)random.c 8.2 (Berkeley) 5/19/95";
41 #include "random.h" /* gawk addition */
58 /* For gawk, don't this, use the decl of random() in random.h */
74 * random.c:
76 * An improved random number generation package. In addition to the standard
80 * then initialized to contain information for random number generation with
85 * information and generates far better random numbers than a linear
97 * The random numbe
509 random() function
[all...]
H A DMakefile249 random.c \
250 random.h \
285 node$U.$(OBJEXT) random$U.$(OBJEXT) re$U.$(OBJEXT) \
310 ./$(DEPDIR)/random$U.Po ./$(DEPDIR)/re$U.Po \
438 include ./$(DEPDIR)/random$U.Po
500 random_.c: random.c $(ANSI2KNR)
501 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/random.c; then echo $(srcdir)/random.c; else echo random.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
/haiku-fatelf/src/libs/compat/freebsd_network/compat/sys/
H A Dlibkern.h13 extern int random(void);
/haiku-fatelf/src/apps/mediaplayer/playlist/
H A DRandomizePLItemsCommand.h27 status_t _Sort(bool random);
H A DRandomizePLItemsCommand.cpp59 // remove the indices from the set in random order
107 RandomizePLItemsCommand::_Sort(bool random) argument
121 if (random) {
/haiku-fatelf/src/apps/cdplayer/
H A DPlayList.cpp96 PlayList::SetShuffle(const bool &random) argument
98 STRACE(("PlayList::SetShuffle(%s)\n", random ? "random" : "sequential"));
101 if (random)
106 fRandom = random;
274 // repeatedly pick two elements at random and swap them
H A DPlayList.h19 void SetShuffle(const bool &random);
/haiku-fatelf/src/bin/gdb/libiberty/
H A Drandom.c33 * @(#)random.c 5.5 (Berkeley) 7/6/88
39 @deftypefn Supplement {long int} random (void)
44 Random number functions. @code{random} returns a random number in the
45 range 0 to @code{LONG_MAX}. @code{srandom} initializes the random
47 (else, the values returned by @code{random} are always the same for each
49 control over the state of the random number generator.
83 long int random ();
85 /* An improved random number generation package. In addition to the standard
89 then initialized to contain information for random numbe
381 random () function
[all...]
H A Dsort.c167 pointers[i] = (void *) random ();
/haiku-fatelf/src/add-ons/screen_savers/flurry/
H A DShared.h53 #define random() rand() macro
H A DTexture.cpp78 while (speck <= 32 && random() % 2)
85 while (speck <= 32 && random() % 2)
H A DSpark.cpp77 a = ((float) (random() % 3600)) / 10.0f;
82 a = 2.0f + (float) (random() & 255) * c;
/haiku-fatelf/src/system/libroot/posix/glibc/stdlib/
H A Drandom.c20 * @(#)random.c 5.5 (Berkeley) 7/6/88
60 /* An improved random number generation package. In addition to the standard
64 then initialized to contain information for random number generation with
69 information and generates far better random numbers than a linear
78 for details). The random number generation technique is a linear feedback
85 also influenced by pseudo-random carries out of the lower bits. The
95 /* For each of the currently supported random number generators, we have a
97 bytes of state info to support this random number generator), a degree for
166 away with just one pointer, but the code for random is more efficient
179 Note that for efficiency of random, w
[all...]
/haiku-fatelf/3rdparty/mmu_man/irc/Haiku/
H A Dplugin.py37 import random
95 Returns a random haiku.
99 h = self.fortunes[int(random.random() * len(self.fortunes))].split('\n')
/haiku-fatelf/src/system/libroot/posix/stdlib/
H A Drandom.c33 * $FreeBSD: src/lib/libc/stdlib/random.c,v 1.13 2000/01/27 23:06:49 jasone Exp $
41 /* An improved random number generation package. In addition to the standard
45 * then initialized to contain information for random number generation with
50 * information and generates far better random numbers than a linear
62 * The random number generation technique is a linear feedback shift register
69 * influenced by pseudo-random carries out of the lower bits. The total
90 * state information and generates far better random numbers than a linear
98 * For each of the currently supported random number generators, we have a
100 * many bytes of state info to support this random number generator), a degree
156 /* The random sequence
459 random(void) function
[all...]
/haiku-fatelf/src/bin/network/tcpdump/lbl/
H A Dos-sunos4.h131 long random(void);
/haiku-fatelf/src/bin/network/tcpdump/libpcap/lbl/
H A Dos-sunos4.h131 long random(void);
/haiku-fatelf/src/tests/kits/game/ParticlesII/
H A DparticlesII.cpp291 particle_list[i].init_velocity = -((double)((rand_max>>1)+(random()%(rand_max>>1)))/rand_max)*3.333; // magic number
292 particle_list[i].gravity = -(((double)((rand_max>>1)+(random()%(rand_max>>1)))/rand_max))*0.599; // more magic
294 // make the particle initialy invisible and fixed, but at a random moment in time
298 particle_list[i].timeval = random() & 64;
301 particle_list[i].cos_z_theta = cos(random() % 360); // grab an angle
/haiku-fatelf/src/bin/coreutils/src/
H A Dsort.c178 bool random; /* Sort by random hash of key. */ member in struct:keyfield
349 -R, --random-sort sort by random hash of keys\n\
350 --random-source=FILE get random bytes from FILE\n\
356 numeric -n, random -R, version -V\n\
455 {"random-sort", no_argument, NULL, 'R'},
456 {"random-source", required_argument, NULL, RANDOM_SOURCE_OPTION},
495 _st_("random", '
[all...]

Completed in 124 milliseconds

12