/third_party/flatbuffers/kotlin/benchmark/src/jvmMain/kotlin/com/google/flatbuffers/kotlin/benchmark/ |
D | UTF8Benchmark.kt | 32 import kotlin.random.Random 168 data[i] = Random.nextInt(0, 127).toByte() in populateAscii() 180 val w = Random.nextInt() and 0xFF in populateUTF8() 184 data[i++] = (0xC2 + Random.nextInt() % (0xDF - 0xC2 + 1)).toByte() in populateUTF8() 185 data[i++] = (0x80 + Random.nextInt() % (0xBF - 0x80 + 1)).toByte() in populateUTF8() 189 data[i++] = (0xA0 + Random.nextInt() % (0xBF - 0xA0 + 1)).toByte() in populateUTF8() 190 data[i++] = (0x80 + Random.nextInt() % (0xBF - 0x80 + 1)).toByte() in populateUTF8() 194 data[i++] = (0x80 + Random.nextInt() % (0xBF - 0x80 + 1)).toByte() in populateUTF8() 195 data[i++] = (0x80 + Random.nextInt() % (0xBF - 0x80 + 1)).toByte() in populateUTF8() 199 data[i++] = (0x80 + Random.nextInt() % (0x9F - 0x80 + 1)).toByte() in populateUTF8() [all …]
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
D | deRandom.hpp | 38 class Random class 41 Random (deUint32 seed) { deRandom_init(&m_rnd, seed); } in Random() function in de::Random 42 ~Random (void) {} in ~Random() 72 bool operator== (const Random& other) const; 73 bool operator!= (const Random& other) const; 81 inline float Random::getFloat (float min, float max) in getFloat() 87 inline double Random::getDouble (double min, double max) in getDouble() 93 inline int Random::getInt (int min, int max) in getInt() 105 void Random::choose (InputIter first, InputIter last, OutputIter result, int numItems) in choose() 128 T Random::choose (InputIter first, InputIter last) in choose() [all …]
|
D | deRandom.cpp | 39 bool Random::operator== (const Random& other) const in operator ==() 44 bool Random::operator!= (const Random& other) const in operator !=() 55 Random rnd(4789); in Random_selfTest() 64 Random rnd(4789); in Random_selfTest() 73 Random rnd(4789); in Random_selfTest() 82 Random rnd(4789); in Random_selfTest() 92 Random rnd(4789); in Random_selfTest() 102 Random rnd(4789); in Random_selfTest() 125 Random rnd(4789); in Random_selfTest() 141 Random rnd(4789); in Random_selfTest() [all …]
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuRandomValueIterator.hpp | 33 T getRandomValue (de::Random& rnd) in getRandomValue() 48 template <> inline deUint8 getRandomValue<deUint8> (de::Random& rnd) { return (deUint8)rnd.getUint… in getRandomValue() 49 template <> inline deUint16 getRandomValue<deUint16> (de::Random& rnd) { return (deUint16)rnd.getUi… in getRandomValue() 50 template <> inline deUint32 getRandomValue<deUint32> (de::Random& rnd) { return rnd.getUint32(); … in getRandomValue() 51 template <> inline deUint64 getRandomValue<deUint64> (de::Random& rnd) { return rnd.getUint64(); … in getRandomValue() 52 template <> inline deInt8 getRandomValue<deInt8> (de::Random& rnd) { return (deInt8)rnd.getUint32(… in getRandomValue() 53 template <> inline deInt16 getRandomValue<deInt16> (de::Random& rnd) { return (deInt16)rnd.getUint… in getRandomValue() 54 template <> inline deInt32 getRandomValue<deInt32> (de::Random& rnd) { return (deInt32)rnd.getUint… in getRandomValue() 55 template <> inline deInt64 getRandomValue<deInt64> (de::Random& rnd) { return (deInt64)rnd.getUint… in getRandomValue() 75 de::Random m_rnd;
|
/third_party/boost/libs/mpl/doc/src/refmanual/ |
D | RandomAccessSequence.rst | 1 .. Sequences/Concepts//Random Access Sequence |30 3 Random Access Sequence 9 A |Random Access Sequence| is a |Bidirectional Sequence| whose iterators model 10 |Random Access Iterator|. A random access sequence guarantees amortized constant 23 for any |Random Access Sequence| ``s`` the following must be met: 28 | ``begin<s>::type`` | |Random Access Iterator| | Amortized constant time | 30 | ``end<s>::type`` | |Random Access Iterator| | Amortized constant time | 59 |Sequences|, |Bidirectional Sequence|, |Extensible Sequence|, |Random Access Iterator|,
|
D | range_c.rst | 28 ``range_c`` is a sorted |Random Access Sequence| of |Integral Constant|\ s. Note 47 |Random Access Sequence| 59 | .. parsed-literal:: | A sorted |Random Access Sequence| of integral constant | 66 | | see |Random Access Sequence|. | 69 | | see |Random Access Sequence|. | 71 | ``size<r>::type`` | The size of ``r``; see |Random Access Sequence|. | 74 | | |Random Access Sequence|. | 77 | | |Random Access Sequence|. | 80 | | |Random Access Sequence|. | 83 | | |Random Access Sequence|. | [all …]
|
D | RandomAccessIterator.rst | 1 .. Iterators/Concepts//Random Access Iterator |30 3 Random Access Iterator 9 A |Random Access Iterator| is a |Bidirectional Iterator| that provides 29 | ``next<i>::type`` | |Random Access Iterator| | Amortized constant time … 31 | ``prior<i>::type`` | |Random Access Iterator| | Amortized constant time … 36 | ``advance<i,n>::type`` | |Random Access Iterator| | Amortized constant time … 76 |Iterators|, |Bidirectional Iterator|, |Random Access Sequence|, |advance|, |distance|
|
D | vector.rst | 15 __ `Random Access Sequence`_ 33 * |Random Access Sequence| 60 | | see |Random Access Sequence|. … 63 | | see |Random Access Sequence|. … 65 | ``size<v>::type`` | The size of ``v``; see |Random Access Sequence|. … 68 | | see |Random Access Sequence|. … 71 | | |Random Access Sequence|. … 74 | | |Random Access Sequence|. … 77 | | |Random Access Sequence|. … 130 |Sequences|, |Variadic Sequence|, |Random Access Sequence|, |Extensible Sequence|, |vector_c|, |lis…
|
D | single_view.rst | 39 * |Random Access Sequence| 55 |Semantics disclaimer...| |Random Access Sequence|. 62 | .. parsed-literal:: | A single-element |Random Access Sequence| ``v`` such that | 68 | | see |Random Access Sequence|. |
|
/third_party/boost/libs/range/doc/ |
D | mfc_atl.rst | 73 ``CArray<T,A>`` Random Access ``T&`` 79 ``CTypedPtrArray<B,T*>`` Random Access ``T* const`` 85 ``CByteArray`` Random Access ``BYTE&`` 87 ``CDWordArray`` Random Access ``DWORD&`` 89 ``CObArray`` Random Access ``CObject* &`` 91 ``CPtrArray`` Random Access ``void* &`` 93 ``CStringArray`` Random Access ``CString&`` 95 ``CUIntArray`` Random Access ``UINT&`` 97 ``CWordArray`` Random Access ``WORD&`` 140 ``CAtlArray<E,ET>`` Random Access ``E&`` [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | raw_hash_set_probe_benchmark.cc | 360 struct Random { struct 365 struct Random<Ptr<Align>*, Dist> { struct 367 return MakePtr<Align>(Random<uintptr_t, Dist>{}() * Align); in operator ()() 372 struct Random<IntIdentity, Dist> { struct 374 return IntIdentity{Random<uint64_t, Dist>{}()}; in operator ()() 379 struct Random<PtrIdentity<Align>, Dist> { struct 381 return PtrIdentity<Align>{Random<uintptr_t, Dist>{}() * Align}; in operator ()() 386 struct Random<String<small>, Dist> { struct 388 return String<small>::Make(Random<uint32_t, Dist>{}()); in operator ()() 393 struct Random<std::pair<T, U>, Dist> { struct [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | CollationThreadTest.java | 15 import java.util.Random; 144 private static void scramble(String[] data, Random r) { in scramble() 195 private Random r; 197 Test(String name, String[] data, Collator collator, Random r, Control control) { in Test() 259 final Random r = new Random(); in testThreads() 284 final Random r = new Random(); in testFrozen()
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationThreadTest.java | 14 import java.util.Random; 141 private static void scramble(String[] data, Random r) { in scramble() 192 private Random r; 194 Test(String name, String[] data, Collator collator, Random r, Control control) { in Test() 256 final Random r = new Random(); in testThreads() 281 final Random r = new Random(); in testFrozen()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | Utf8Utils.java | 37 import java.util.Random; 119 final Random rnd = new Random(seed); in randomStrings() 134 static String randomString(Random rnd, int charCount, MaxCodePoint maxCodePoint) { in randomString() 164 final Random rnd = new Random(seed); in randomStringsWithDistribution()
|
/third_party/re2/re2/testing/ |
D | random_test.cc | 51 TEST(Random, SmallEgrepLiterals) { in TEST() argument 58 TEST(Random, BigEgrepLiterals) { in TEST() argument 66 TEST(Random, SmallEgrepCaptures) { in TEST() argument 74 TEST(Random, BigEgrepCaptures) { in TEST() argument 84 TEST(Random, Complicated) { in TEST() argument
|
/third_party/vk-gl-cts/framework/randomshaders/ |
D | rsgBinaryOps.hpp | 80 …void operator() (de::Random& rnd, float dstMin, float dstMax, float& aMin, float& aMax, float& bMi… 81 …void operator() (de::Random& rnd, int dstMin, int dstMax, int& aMin, int& aMax, int& bMin, int& bM… 82 …void operator() (de::Random&, bool, bool, bool&, bool&, bool&, bool&) const { DE_ASSERT(DE_FALSE);… in operator ()() 104 void operator() (de::Random& rnd, T dstMin, T dstMax, T& aMin, T& aMax, T& bMin, T& bMax) const; 126 void operator() (de::Random& rnd, T dstMin, T dstMax, T& aMin, T& aMax, T& bMin, T& bMax) const; 164 …void operator() (de::Random& rnd, bool dstMin, bool dstMax, T& aMin, T& aMax, T& bMin, T& bMax) co… 188 …void operator() (de::Random& rnd, bool dstMin, bool dstMax, T& aMin, T& aMax, T& bMin, T& bMax) co… 212 …void operator() (de::Random& rnd, bool dstMin, bool dstMax, T& aMin, T& aMax, T& bMin, T& bMax) co… in operator ()() 239 …void operator() (de::Random& rnd, bool dstMin, bool dstMax, T& aMin, T& aMax, T& bMin, T& bMax) co… in operator ()()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/ |
D | vktTransformFeedbackRandomLayoutCase.hpp | 32 class Random; 67 void generateBlock (de::Random& rnd, deUint32 layoutFlags); 68 …void generateBlockMember (de::Random& rnd, InterfaceBlock& block, const int numBlockMembers… 69 VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk);
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsRandomUniformBlockCase.hpp | 32 class Random; 80 void generateBlock (de::Random& rnd, deUint32 layoutFlags); 81 void generateUniform (de::Random& rnd, ub::UniformBlock& block); 82 ub::VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk);
|
D | glsInteractionTestUtil.hpp | 33 class Random; 121 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int tar… 122 void computeRandomQuad (de::Random& rnd, gls::FragmentOpUtil::IntegerQuad& quad, int targetWidt… 123 void computeRandomRenderCommands (de::Random& rnd, glu::ApiType apiType, int numCommands, int tar…
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/ |
D | vktRandomUniformBlockCase.hpp | 31 class Random; 76 void generateBlock (de::Random& rnd, deUint32 layoutFlags); 77 void generateUniform (de::Random& rnd, UniformBlock& block); 78 VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmUtils.hpp | 290 std::vector<deInt64> getInt64s (de::Random& rnd, const deUint32 count); 295 std::vector<deInt32> getInt32s (de::Random& rnd, const deUint32 count); 300 std::vector<deInt16> getInt16s (de::Random& rnd, const deUint32 count); 305 std::vector<deInt8> getInt8s (de::Random& rnd, const deUint32 count); 311 std::vector<double> getFloat64s (de::Random& rnd, deUint32 count); 317 std::vector<float> getFloat32s (de::Random& rnd, deUint32 count); 323 std::vector<deFloat16> getFloat16s (de::Random& rnd, deUint32 count);
|
D | vktSpvAsmIntegerDotProductTests.cpp | 59 static void fillRandomScalars(de::Random& rnd, T minValue, T maxValue, void* dst, int numValues, in… in fillRandomScalars() 539 void addOpSDotKHRComputeTests(tcu::TestContext& testCtx, tcu::TestCaseGroup *group, de::Random &rnd… in addOpSDotKHRComputeTests() 578 void add32bitOpSDotKHRComputeTests(tcu::TestContext& testCtx, tcu::TestCaseGroup *group, de::Random… in add32bitOpSDotKHRComputeTests() 585 void add16bitOpSDotKHRComputeTests(tcu::TestContext& testCtx, tcu::TestCaseGroup *group, de::Random… in add16bitOpSDotKHRComputeTests() 592 void add8bitOpSDotKHRComputeTests(tcu::TestContext& testCtx, tcu::TestCaseGroup *group, de::Random … in add8bitOpSDotKHRComputeTests() 627 void addOpUDotKHRComputeTests(tcu::TestContext& testCtx, tcu::TestCaseGroup *group, de::Random &rnd… in addOpUDotKHRComputeTests() 666 void add32bitOpUDotKHRComputeTests(tcu::TestContext& testCtx, tcu::TestCaseGroup *group, de::Random… in add32bitOpUDotKHRComputeTests() 673 void add16bitOpUDotKHRComputeTests(tcu::TestContext& testCtx, tcu::TestCaseGroup *group, de::Random… in add16bitOpUDotKHRComputeTests() 680 void add8bitOpUDotKHRComputeTests(tcu::TestContext& testCtx, tcu::TestCaseGroup *group, de::Random … in add8bitOpUDotKHRComputeTests() 714 void addOpSUDotKHRComputeTests(tcu::TestContext& testCtx, tcu::TestCaseGroup *group, de::Random &rn… in addOpSUDotKHRComputeTests() [all …]
|
/third_party/boost/libs/test/doc/examples/ |
D | example83_contexts.output | 7 Random value=42 11 Random value=49 15 Random value=21
|
/third_party/typescript/tests/baselines/reference/ |
D | checkJsxChildrenProperty2.types | 42 <Comp a={10} b="hi" children="Random" > 43 ><Comp a={10} b="hi" children="Random" > hi hi hi! </Comp> : JSX.Element 56 >{ children:"Random"} : { children: string; } 58 children:"Random" 60 >"Random" : "Random"
|
/third_party/boost/libs/iterator/doc/ |
D | reverse_iterator_ref.rst | 34 If ``Iterator`` models Random Access Traversal Iterator and Readable 70 | Readable Lvalue Iterator, | Random Access Iterator | 71 | Random Access Traversal Iterator | | 73 | Writable Lvalue Iterator, | Mutable Random Access Iterator | 74 | Random Access Traversal Iterator | |
|