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

12

/barrelfish-master/lib/devif/backends/net/mlx4/include/linux/
H A Drandom.h33 #include <sys/random.h>
/barrelfish-master/usr/eclipseclp/Contrib/
H A Drandom.pl8 :- module(random).
10 :- export random/2, randomise/0, randomise/1, random/3, rand_perm/2.
18 % given an integer N >= 1, random(N, I) unifies I with a random
21 random(N, I) :-
31 % Restart the random sequence from the beginning
46 % given an non-empty List, random(List, Elem, Rest) unifies Elem with
47 % a random element of List and Rest with the other elements.
49 random(Lis
[all...]
H A DMakefile.in18 project.pl random.pl rdtok.pl read.pl struct.pl \
/barrelfish-master/tools/harness/tests/
H A Dtommath.py14 import random namespace
28 modules.add_module("tommath/mont", [ int(random.random() * 100000) ])
H A Dmdbbench.py39 import random namespace
41 self.random_seed = random.randint(0, 1<<32)
/barrelfish-master/usr/eclipseclp/Visualisation/src/com/parctechnologies/eclipse/visualisation/
H A DRectQuadTree.java450 Random random = new Random(1);
458 cWidth = random.nextInt(width/2);
459 cHeight = random.nextInt(height/2);
461 setBounds(random.nextInt(width - cWidth),
462 random.nextInt(height - cHeight),
475 replacement_index = random.nextInt(COMPONENTS);
477 cWidth = random.nextInt(width/2);
478 cHeight = random.nextInt(height/2);
481 setBounds(random.nextInt(width - cWidth),
482 random
[all...]
/barrelfish-master/lib/libc/stdlib/
H A DMakefile.inc14 random.c reallocarray.c reallocf.c realpath.c remque.c strfmon.c \
30 radixsort.3 rand.3 random.3 reallocarray.3 reallocf.3 \
46 MLINKS+=random.3 initstate.3 random.3 setstate.3 random.3 srandom.3 \
47 random.3 srandomdev.3
H A Drandom.c31 static char sccsid[] = "@(#)random.c 8.2 (Berkeley) 5/19/95";
44 * random.c:
46 * An improved random number generation package. In addition to the standard
50 * then initialized to contain information for random number generation with
55 * information and generates far better random numbers than a linear
67 * The random number generation technique is a linear feedback shift register
74 * influenced by pseudo-random carries out of the lower bits. The total
95 * state information and generates far better random numbers than a linear
103 * For each of the currently supported random number generators, we have a
105 * many bytes of state info to support this random numbe
419 random(void) function
[all...]
/barrelfish-master/lib/libc/db/test/hash.tests/
H A Ddriver2.c93 key.size = 128 + (random()&1023);
94 content.size = 128 + (random()&1023);
/barrelfish-master/usr/eclipseclp/JavaInterface/
H A Djoop_boot.pl57 % set password to be random number
59 random(RN),
/barrelfish-master/usr/tests/msun/
H A Drem_test.c149 q = random();
171 q = random();
193 q = random();
/barrelfish-master/lib/openssl-1.0.0d/demos/engines/zencod/
H A Dhw_zencod.h70 typedef int t_zencod_dsa_do_sign (unsigned int hash, KEY *data, KEY *random,
/barrelfish-master/lib/cxx/cxx/
H A Drandom.cpp1 //===-------------------------- random.cpp --------------------------------===//
16 #include "random"
28 #include <sys/random.h>
44 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
67 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
122 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
125 __throw_system_error(error, ("random device failed to open " + __token).c_str());
151 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
/barrelfish-master/lib/openssl-1.0.0d/crypto/rand/
H A Drand_unix.c148 /* The VOS random() function starts from a static seed so its
149 initial value is predictable. If random() returns the
158 rnd = random ();
170 rnd = random();
218 /* Use a random entropy pool device. Linux, FreeBSD and OpenBSD
219 * have this. Use /dev/urandom if you can as /dev/random may block
220 * if it runs out of random entries. */
358 /* put in some default random data, we need more than just this */
/barrelfish-master/lib/posixcompat/
H A Drandom.c31 static char sccsid[] = "@(#)random.c 8.2 (Berkeley) 5/19/95";
47 * random.c:
49 * An improved random number generation package. In addition to the standard
53 * then initialized to contain information for random number generation with
58 * information and generates far better random numbers than a linear
70 * The random number generation technique is a linear feedback shift register
77 * influenced by pseudo-random carries out of the lower bits. The total
98 * state information and generates far better random numbers than a linear
106 * For each of the currently supported random number generators, we have a
108 * many bytes of state info to support this random numbe
472 long random(void) function
[all...]
/barrelfish-master/include/
H A Dstdlib.h221 long random(void);
/barrelfish-master/doc/015-disk-driver-arch/
H A Dconclusion.tex27 blocksizes and random access. There is some bottleneck during read operations
/barrelfish-master/usr/eclipseclp/ecrc_solvers/grace/
H A Dmatrix_util.pl179 Domain = random(_, _),
187 (Domain = random(Min, Max) ->
188 X is Min + (random mod (Max - Min + 1))
/barrelfish-master/usr/eclipseclp/documents/tutorial/
H A Drepairtut.tex597 follow this schema: {\em random walk}, {\em simulated annealing} and
605 \index{random walk}
608 The idea of Random walk is to start from a random tentative assignment of
610 remove random items (changing 1 to 0) if the knapsack's capacity is
611 exceeded and to add random items (changing 0 to 1) if there is
634 init_tent_values(VarArr, random), % starting point
662 provide more convenient random access.
675 move operator to the random walk example.
679 variable \verb0T0, the inner loop does random moves until \verb0MaxIter0
726 X is VarArr[random mo
[all...]
/barrelfish-master/usr/eclipseclp/Kernel/lib/
H A Dmegalog.pl121 MegaLog : extra random/3, different name
124 random(Min,Max,Value) :-
127 error(6,random(Min,Max,Value)). % error 6 = out_of_range
128 random(Min,Max,Value) :-
129 random(R),
915 random(R),
925 error(6,random(Min,Max,Value)). % error 6 = out_of_range
927 random(R),
H A Delipsys.pl120 random/3,
275 MegaLog : extra random/3, different name
278 random(Min,Max,Value) :-
281 error(6,random(Min,Max,Value)). % error 6 = out_of_range
282 random(Min,Max,Value) :-
283 Value is abs(random) mod (Max - Min + 1) + Min.
/barrelfish-master/usr/eclipseclp/icparc_solvers/ech/
H A Ddeussen_bool.pl28 (chosen pretty well at random).
/barrelfish-master/lib/libc/tests/stdio/
H A Dgetdelim_test.c45 * random number of bytes up to the requested length.
53 r = random() % CHUNK_MAX + 1;
/barrelfish-master/lib/libc/tests/resolv/
H A Dresolv_test.c179 size_t i = (random() & 0x0fffffff) % hosts->sl_cur;
/barrelfish-master/include/vm/
H A Dmemguard.c437 * as the original may have been guarded through random
461 (random() % 100000) < memguard_frequency) {

Completed in 289 milliseconds

12