/external/angle/util/ |
D | random_utils.cpp | 20 RNG::RNG() in RNG() function in angle::RNG 27 RNG::RNG(unsigned int seed) : mGenerator(seed) {} in RNG() function in angle::RNG 29 RNG::~RNG() {} in ~RNG() 31 void RNG::reseed(unsigned int newSeed) in reseed() 36 bool RNG::randomBool(float probTrue) in randomBool() 42 int RNG::randomInt() in randomInt() 48 int RNG::randomIntBetween(int min, int max) in randomIntBetween() 54 unsigned int RNG::randomUInt() in randomUInt() 60 float RNG::randomFloat() in randomFloat() 66 float RNG::randomFloatBetween(float min, float max) in randomFloatBetween() [all …]
|
D | random_utils.h | 22 class ANGLE_UTIL_EXPORT RNG 26 RNG(); 28 RNG(unsigned int seed); 29 ~RNG(); 59 inline void FillVectorWithRandomUBytes(RNG *rng, std::vector<uint8_t> *data) in FillVectorWithRandomUBytes() 69 RNG rng; in FillVectorWithRandomUBytes() 75 RNG rng(seed); in RandomVec4()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_RngSkip.pbtxt | 7 The handle of the resource variable that stores the state of the RNG. 13 The RNG algorithm. 22 summary: "Advance the counter of a counter-based RNG." 24 The state of the RNG after
|
D | api_def_RngReadAndSkip.pbtxt | 7 The handle of the resource variable that stores the state of the RNG. 13 The RNG algorithm. 28 summary: "Advance the counter of a counter-based RNG." 30 The state of the RNG after
|
D | api_def_StatelessRandomGetAlg.pbtxt | 7 The RNG algorithm (shape int32[]). 10 summary: "Picks the best counter-based RNG algorithm based on device." 12 This op picks the best counter-based RNG algorithm based on device.
|
D | api_def_StatelessRandomGetKeyCounterAlg.pbtxt | 13 Key for the counter-based RNG algorithm (shape uint64[1]). 19 Counter for the counter-based RNG algorithm. Since counter size is algorithm-dependent, this output… 25 The RNG algorithm (shape int32[]). 30 This op picks the best counter-based RNG algorithm based on device, and scrambles a shape-[2] seed …
|
D | api_def_StatelessRandomGetKeyCounter.pbtxt | 13 Key for the counter-based RNG algorithm (shape uint64[1]). 19 Counter for the counter-based RNG algorithm. Since counter size is algorithm-dependent, this output… 24 This op scrambles a shape-[2] seed into a key and a counter, both needed by counter-based RNG algor…
|
D | api_def_StatelessRandomNormalV2.pbtxt | 13 Key for the counter-based RNG algorithm (shape uint64[1]). 19 Initial counter for the counter-based RNG algorithm (shape uint64[2] or uint64[1] depending on the … 25 The RNG algorithm (shape int32[]).
|
D | api_def_StatelessRandomUniformFullIntV2.pbtxt | 13 Key for the counter-based RNG algorithm (shape uint64[1]). 19 Initial counter for the counter-based RNG algorithm (shape uint64[2] or uint64[1] depending on the … 25 The RNG algorithm (shape int32[]).
|
D | api_def_StatelessTruncatedNormalV2.pbtxt | 13 Key for the counter-based RNG algorithm (shape uint64[1]). 19 Initial counter for the counter-based RNG algorithm (shape uint64[2] or uint64[1] depending on the … 25 The RNG algorithm (shape int32[]).
|
D | api_def_StatelessRandomUniformIntV2.pbtxt | 13 Key for the counter-based RNG algorithm (shape uint64[1]). 19 Initial counter for the counter-based RNG algorithm (shape uint64[2] or uint64[1] depending on the … 25 The RNG algorithm (shape int32[]).
|
D | api_def_StatelessRandomUniformV2.pbtxt | 13 Key for the counter-based RNG algorithm (shape uint64[1]). 19 Initial counter for the counter-based RNG algorithm (shape uint64[2] or uint64[1] depending on the … 25 The RNG algorithm (shape int32[]).
|
D | api_def_StatefulStandardNormalV2.pbtxt | 6 The handle of the resource variable that stores the state of the RNG. 12 The RNG algorithm.
|
D | api_def_StatefulUniformFullInt.pbtxt | 7 The handle of the resource variable that stores the state of the RNG. 13 The RNG algorithm.
|
D | api_def_StatefulUniform.pbtxt | 7 The handle of the resource variable that stores the state of the RNG. 13 The RNG algorithm.
|
D | api_def_StatefulTruncatedNormal.pbtxt | 7 The handle of the resource variable that stores the state of the RNG. 13 The RNG algorithm.
|
D | api_def_StatefulUniformInt.pbtxt | 7 The handle of the resource variable that stores the state of the RNG. 13 The RNG algorithm.
|
/external/tensorflow/tensorflow/core/kernels/ |
D | random_op_test.cc | 61 #define BM_RNG(DEVICE, RNG) \ argument 62 void BM_##DEVICE##_##RNG(::testing::benchmark::State& state) { \ 65 test::Benchmark(#DEVICE, RNG(arg), /*old_benchmark_api*/ false) \ 69 BENCHMARK(BM_##DEVICE##_##RNG)->Range(1 << 20, 8 << 20);
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Src/ |
D | stm32l4xx_hal_msp.c | 94 if(hrng->Instance==RNG) in HAL_RNG_MspInit() 111 if(hrng->Instance==RNG) in HAL_RNG_MspDeInit()
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Src/ |
D | stm32l4xx_hal_msp.c | 94 if(hrng->Instance==RNG) in HAL_RNG_MspInit() 111 if(hrng->Instance==RNG) in HAL_RNG_MspDeInit()
|
/external/rust/crates/futures-util/src/async_await/ |
D | random.rs | 29 static RNG: Cell<Wrapping<u64>> = Cell::new(Wrapping(prng_seed())); in random() constant 45 RNG.with(|rng| { in random()
|
/external/guava/android/guava-tests/test/com/google/common/math/ |
D | QuantilesAlgorithmTest.java | 35 private static final Random RNG = new Random(82674067L); field in QuantilesAlgorithmTest 49 dataset[i] = RNG.nextDouble(); in setUp()
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | QuantilesAlgorithmTest.java | 35 private static final Random RNG = new Random(82674067L); field in QuantilesAlgorithmTest 49 dataset[i] = RNG.nextDouble(); in setUp()
|
/external/rust/crates/crossbeam-channel/src/ |
D | utils.rs | 20 static RNG: Cell<Wrapping<u32>> = Cell::new(Wrapping(1_406_868_647)); in shuffle() constant 23 let _ = RNG.try_with(|rng| { in shuffle()
|
/external/swiftshader/third_party/subzero/unittest/ |
D | IceELFSectionTest.cpp | 97 RandomNumberGeneratorWrapper RNG(R); in TEST() local 100 RandomShuffle(Strings.begin(), Strings.end(), RNG); in TEST()
|