Home
last modified time | relevance | path

Searched refs:uniform (Results 1 – 25 of 192) sorted by relevance

12345678

/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/algorithm/
H A Dinternal.d24 import std.random : Xorshift, uniform; in version()
28 new string[uniform(minArraySize, maxArraySize, rnd)]; in version()
32 foreach (i; 0 .. uniform(0u, 20u, rnd)) in version()
34 auto j = uniform(0, alpha.length - 1, rnd); in version()
43 import std.random : Xorshift, uniform; in version()
46 int[] result = new int[uniform(minArraySize, maxArraySize, rnd)]; in version()
49 i = uniform(-100, 100, rnd); in version()
H A Dsorting.d759 import std.random : Random, uniform, Xorshift; in test()
763 a = iota(0, uniform(1, 1000, g)) in test()
764 .map!(_ => uniform(-1000, 1000, g)) in test()
899 import std.random : Random = Xorshift, uniform;
905 auto a = new int[](uniform(0, 100, r));
908 e = uniform(0, 50, r);
1789 import std.random : Random = Xorshift, uniform;
1792 auto a = new int[uniform(100, 200, rnd)];
1795 e = uniform(-100, 100, rnd);
2007 import std.random : Random, uniform;
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/algorithm/
H A Dinternal.d24 import std.random : Random, unpredictableSeed, uniform; in version()
34 new string[uniform(minArraySize, maxArraySize, rnd)]; in version()
38 foreach (i; 0 .. uniform(0u, 20u, rnd)) in version()
40 auto j = uniform(0, alpha.length - 1, rnd); in version()
49 import std.random : Random, unpredictableSeed, uniform; in version()
58 int[] result = new int[uniform(minArraySize, maxArraySize, rnd)]; in version()
61 i = uniform(-100, 100, rnd); in version()
H A Dsorting.d754 a = iota(0, uniform(1, 1000, g)) in test()
755 .map!(_ => uniform(-1000, 1000, g)) in test()
889 import std.random : Random, uniform, unpredictableSeed;
895 auto a = new int[](uniform(0, 100, r));
898 e = uniform(0, 50, r);
1719 import std.random : Random, uniform;
1722 auto a = new int[uniform(100, 200, rnd)];
1725 e = uniform(-100, 100, rnd);
1932 int[] a = iota(20148).map!(_ => uniform(-1000, 1000, rng)).array;
1958 import std.random : Random, unpredictableSeed, uniform;
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Drandom.d66 auto i = uniform(0, 15, rnd);
70 auto r = uniform(0.0L, 100.0L, rnd);
74 auto u = uniform!uint(rnd);
1380 auto uniform(string boundaries = "[)", T1, T2)
1384 return uniform!(boundaries, T1, T2, Random)(a, b, rndGen);
1392 auto a = uniform(0, 1024, gen);
1394 auto b = uniform(0.0f, 1.0f, gen);
1402 auto x = uniform(0.0, 15.0, gen);
1407 auto x = uniform!"[]"('a', 'z', gen);
1413 auto x = uniform('a', 'z', gen);
[all …]
H A Dzlib.d701 char[] buf = new char[uniform(0, 100)];
705 c = cast(char) (' ' + (uniform(0, idx % 2 ? 91 : 2)));
720 char[] buf = new char[uniform(0, 1000/*0000*/)];
724 c = cast(char) (' ' + (uniform(0, idx % 2 ? 91 : 10)));
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Drandom.d133 auto i = uniform(0, 15, rnd);
137 auto r = uniform(0.0L, 100.0L, rnd);
142 auto f = rnd.uniform!Fruit;
147 auto u = uniform!uint(rnd);
2048 auto uniform(string boundaries = "[)", T1, T2)
2052 return uniform!(boundaries, T1, T2, Random)(a, b, rndGen);
2061 auto a = uniform(0, 1024, rnd);
2065 auto b = uniform(0.0f, 1.0f, rnd);
2069 b = uniform!"[]"(0.0f, 1.0f, rnd);
2073 b = uniform!"()"(0.0f, 1.0f, rnd);
[all …]
H A Dzlib.d828 char[] buf = new char[uniform(0, 100)];
832 c = cast(char) (' ' + (uniform(0, idx % 2 ? 91 : 2)));
847 char[] buf = new char[uniform(0, 1000/*0000*/)];
851 c = cast(char) (' ' + (uniform(0, idx % 2 ? 91 : 10)));
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/FuzzMutate/
H A DRandom.h21 template <typename T, typename GenT> T uniform(GenT &Gen, T Min, T Max) { in uniform() function
26 template <typename T, typename GenT> T uniform(GenT &Gen) { in uniform() function
27 return uniform<T>(Gen, std::numeric_limits<T>::min(), in uniform()
66 if (uniform<uint64_t>(RandGen, 1, TotalWeight) <= Weight) in sample()
/netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/
H A Drandombytes.c132 if (implementation->uniform != NULL) { in randombytes_uniform()
133 return implementation->uniform(upper_bound); in randombytes_uniform()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dgenk-timing.py133 … self.writeln(" %s = %s %s %f :" % (LValue, LHS, operation, random.uniform(1, 100)))
167 arg1 = random.uniform(1, 100)
168 arg2 = random.uniform(1, 100)
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dgenk-timing.py138 … self.writeln(" %s = %s %s %f :" % (LValue, LHS, operation, random.uniform(1, 100)))
172 arg1 = random.uniform(1, 100)
173 arg2 = random.uniform(1, 100)
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dgenk-timing.py133 … self.writeln(" %s = %s %s %f :" % (LValue, LHS, operation, random.uniform(1, 100)))
167 arg1 = random.uniform(1, 100)
168 arg2 = random.uniform(1, 100)
/netbsd-src/external/mpl/dhcp/dist/keama/tests/
H A Dmixedarray.msg1 mixedarray.err line 7: only uniform array inside record.
H A Dmixedarray.err6 # not uniform arrays are forbidden
/netbsd-src/tests/lib/libcurses/tests/
H A Dtwo_window5 # this ordering of refresh enables uniform checking of other files
/netbsd-src/external/bsd/file/dist/magic/magdir/
H A Dunisig4 # unisig: file(1) magic for files carrying a uniform signature (Unisig)
/netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/include/sodium/
H A Drandombytes.h23 …uint32_t (*uniform)(const uint32_t upper_bound); /* optional, a default implementation will be … member
/netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/nativeclient/
H A Drandombytes_nativeclient.c56 SODIUM_C99(.uniform =) NULL,
/netbsd-src/external/bsd/libevent/dist/
H A Dmake-event-config.sed7 * processed by Libevent so that its macros would have a uniform prefix.\
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUSearchableTables.td297 // but the mask results are uniform. These produce a divergent and
298 // uniform result, so the returned struct is collectively divergent.
299 // isAlwaysUniform can override the extract of the uniform component.
/netbsd-src/sys/external/isc/libsodium/dist/test/default/
H A Drandombytes.c139 impl.uniform = randombytes_uniform_impl; in impl_tests()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/nvptx/
H A Dnvptx.opt46 Generate code that can keep local state uniform across all lanes.
/netbsd-src/external/apache2/llvm/dist/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp124 if (uniform(Rand, 0, 1)) in newSink()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/building_blocks/
H A Daligned_block_list.d614 auto size = uniform(1, pageSize + 1, rnd); in fun()
686 auto size = uniform(1, maxSize + 1, rnd);

12345678