Home
last modified time | relevance | path

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

123

/arkcompiler/ets_runtime/ecmascript/mem/
H A Dallocation_inspector.cpp36 // Let random be a uniformly distributed random number between 0 and 1, beacuse Inverse transform sampling
37 // can generate exponential probability distribution with a uniform distribution, so nextSample = (- ln random) / λ.
40 double random = base::RandomGenerator::NextDouble(); in GetNextStepSize() local
41 double stepSize = -std::log(random) * rate_; in GetNextStepSize()
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/examples/benchmarks-interop-freestyle/interop/bu_a2j/
H A Dtest_import.js17 return Math.random() * Number.MAX_SAFE_INTEGER;
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Dstd_math.cpp20 #include <random>
/arkcompiler/ets_runtime/test/aottest/builtins_parseint/
H A Dbuiltins_parseint.js21 let n = parseInt(Math.random() * str.length + '');
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
H A Dutils.py20 import random namespace
183 random.seed(test_id)
184 return random.randint(1, total_groups)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/interfaces/interface_method_returns_value/js_interface/
H A Dindex.js96 let index = Math.round(Math.random() * randomValues.length);
125 let index = Math.round(Math.random() * randomValues.length);
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/examples/benchmarks/js/
H A DStringTest.js40 this.str += String.fromCharCode((25 * Math.random()) + 97);
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/
H A DXTools.js74 return Math.floor(Math.random() * (max - min)) + min;
/arkcompiler/runtime_core/static_core/compiler/tests/codegen/
H A Dcodegen_test.h19 #include <random>
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dtime_utils_test.cpp19 #include <random>
/arkcompiler/ets_runtime/test/moduletest/stubbuilder/
H A Dstubbuilder.js871 return Math.round(n1 + Math.random() * (n2 - n1));
873 return Math.round(Math.random() * n1)
875 return Math.round(Math.random() * 255)
/arkcompiler/runtime_core/static_core/scripts/
H A Dcompiler_bisect.py21 import random namespace
221 random.shuffle(values)
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/
H A Dhelpers.py22 import random namespace
60 random.choice(
/arkcompiler/runtime_core/compiler/tests/aarch32/
H A Dregister32_test.cpp15 #include <random>
/arkcompiler/runtime_core/compiler/tests/amd64/
H A Dregister64_test.cpp16 #include <random>
H A Dcallconv64_test.cpp16 #include <random>
/arkcompiler/runtime_core/compiler/tests/aarch64/
H A Dregister64_test.cpp16 #include <random>
H A Dcallconv64_test.cpp16 #include <random>
/arkcompiler/runtime_core/static_core/compiler/tests/aarch32/
H A Dregister32_test.cpp15 #include <random>
/arkcompiler/runtime_core/static_core/compiler/tests/aarch64/
H A Dregister64_test.cpp16 #include <random>
/arkcompiler/runtime_core/static_core/compiler/tests/amd64/
H A Dregister64_test.cpp16 #include <random>
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Dtype_converter_tests.cpp19 #include <random>
/arkcompiler/ets_runtime/test/moduletest/container/
H A Dcontainer_hashmap.js54 let ss = Math.floor(Math.random()*10);
/arkcompiler/runtime_core/libpandabase/tests/
H A Dtype_converter_tests.cpp19 #include <random>
H A Dmem_range_test.cpp19 #include <random>
36 // support function to generate random uintptr_t
136 // function to conduct num_iter random tests with addresses in given bounds
182 // set of random tests with different address ranges
195 // random tests in interesting ranges
199 // tests in random ranges

Completed in 10 milliseconds

123