Searched +full:pseudo +full:- +full:random (Results 1 – 16 of 16) sorted by relevance
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-common-tests/intrinsics/ |
| D | to_string_cache.ets | 2 * Copyright (c) 2024-2025 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 19 // simple fast pseudo-random generator 36 let negative = s.charAt(0) == c'-'; 47 let digit = (ch - c'0') as int; 53 digit = -digit; 54 } else if (result > (Long.MAX_VALUE - digit) / 10) { 72 if (eps < 1e-307) { 77 eps = 4.9e-308; 81 if (Math.abs(parsed - number) > eps) { [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | call.virt.short.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: PandaAssembly 18 - name: r_A 25 - name: r_R 38 - name: r_RJ 51 - name: NPE 54 - name: j_NPE 57 - name: AME [all …]
|
| D | call.virt.range.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: PandaAssembly 18 - name: R_xorshift32 21 # Next random number 52 - file-name: call.virt.range 55 - sig: call.virt.range method_id, v:in:top 66 …constant-pool based on object reference using language-specific semantics (currently only PandaAss… 70 Non-range instructions can be used to pass up to 4 arguments (including object reference). [all …]
|
| D | call.virt.range_base.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: PandaAssembly 18 - name: r_A 25 - name: NPE 28 - name: j_NPE 31 - name: AME 35 - name: j_AME 40 - file-name: call.virt.range_base [all …]
|
| D | call.virt.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: PandaAssembly 18 - name: r_A 25 - name: NPE 28 - name: j_NPE 31 - name: AME 35 - name: j_AME 40 - file-name: call.virt [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | call.virt.range.yaml | 1 # Copyright (c) 2021-2025 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: R_xorshift32 18 # Next random number 49 - file-name: call.virt.range 52 - sig: call.virt.range method_id, v:in:top 63 constant-pool based on object reference using language-specific semantics. 66 Non-range instructions can be used to pass up to 4 arguments (including object reference). 72 - method_id_non_static [all …]
|
| D | call.virt.short.yaml | 1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: r_A 21 - name: r_R 34 - name: NPE 37 - name: AME 42 - file-name: call.virt.short 45 - sig: call.virt.short method_id, v1:in:top, v2:in:top 56 constant-pool based on object reference using language-specific semantics. [all …]
|
| D | call.virt.range_base.yaml | 1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: r_A 21 - name: NPE 24 - name: AME 29 - file-name: call.virt.range_base 32 - sig: call.virt.range method_id, v:in:top 43 constant-pool based on object reference using language-specific semantics. 46 Non-range instructions can be used to pass up to 4 arguments (including object reference). [all …]
|
| D | call.virt.yaml | 1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: r_A 21 - name: NPE 24 - name: AME 29 - file-name: call.virt 32 - sig: call.virt method_id, v1:in:top, v2:in:top, v3:in:top, v4:in:top 43 constant-pool based on object reference using language-specific semantics. 46 Non-range instructions can be used to pass up to 4 arguments (including object reference). [all …]
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | number_helper.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 78 static constexpr int kDENORMAL = -EXPONENTBIAS + 1; 81 // help defines for random 98 static constexpr int MIN_DIGITS = -6; 150 return biased - EXPONENTBIAS; in GetNaN() 189 value = value * base + (c - '0'); in GetNaN() 249 // This class is used to generate 0~1 uniform distribution pseudo-random numbers. 250 // It uses a 64-bit seed which is current timestamp to generate state value. 251 // The value is used in xorshift64* random generator to generate result.
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
| D | Math.ets | 2 * Copyright (c) 2021-2025 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 68 * @param v - Some number value 91 …nction, @see `acos()` intrinsic [declaration](https://gitee.com/openharmony-sig/arkcompiler_runti… 95 * acos(doubleNaN) = -nan 112 * Math.acosh(doubleNaN) = -NaN 114 * Math.acosh(doubleNegInf) = -NaN 141 * Math.asinh(doubleNaN) = -NaN 143 * Math.asinh(doubleNegInf) = -Inf 159 * Math.atan(doubleNaN) = -NaN [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/math/ |
| D | math.ets | 2 * Copyright (c) 2021-2025 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 28 …unction, @see `abs()` intrinsic [declaration](https://gitee.com/openharmony-sig/arkcompiler_runti… 46 …ction, @see `acosh()` intrinsic [declaration](https://gitee.com/openharmony-sig/arkcompiler_runti… 50 * acosh(doubleNaN) = -nan 52 * acosh(doubleNegInf) = -nan 64 …nction, @see `acos()` intrinsic [declaration](https://gitee.com/openharmony-sig/arkcompiler_runti… 68 * acos(doubleNaN) = -nan 82 …ction, @see `asinh()` intrinsic [declaration](https://gitee.com/openharmony-sig/arkcompiler_runti… 86 * asinh(doubleNaN) = -nan [all …]
|
| /arkcompiler/jsvm/src/inspector/ |
| D | inspector_utils.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 26 #include "v8-inspector.h" 97 return reinterpret_cast<uintptr_t>(&(static_cast<Outer*>(nullptr)->*field)); in OffsetOf() 102 : pointer(reinterpret_cast<Outer*>(reinterpret_cast<uintptr_t>(pointer) - OffsetOf(field))) in ContainerOfHelper() 219 // Default to a zero-length, null-terminated buffer. in MaybeStackBuffer() 327 return ((size + TO_TRANSFORM_CHAR_NUM - 1) / TO_TRANSFORM_CHAR_NUM * TRANSFORMED_CHAR_NUM); in Base64EncodeSize() 336 // strong pseudo-random data, or fails. This function may block.
|
| /arkcompiler/ets_frontend/arkguard/ |
| D | README.md | 3 …monyos-guides-V5/source-obfuscation-V5) and [doc repository](https://gitee.com/openharmony/docs/bl… 10 For Chinese version please read [README-cn.md](README-cn.md) 11 (中文版说明请查看[README-cn.md](README-cn.md)). 28 You can enable them by [obfuscation options](#obfuscation-options). 30 When you create a new project, the following config will be generated in `build-profile.json5`. 37 "files": ["obfuscation-rules.txt"], 50 "files": ["obfuscation-rules.txt"], 52 "consumerFiles": ["consumer-rules.txt"] 72 "[How Arkguard merges rules](#how-arkguard-merges-rules)". 76 The files `obfuscation-rules.txt` and `consumer-rules.txt` are created by DevEco Studio automatical… [all …]
|
| /arkcompiler/ets_frontend/testTs/ |
| D | test-case.patch | 5 --- 10 .../ambientInsideNonAmbientExternalModule.ts | 4 +- 21 .../classAbstractAsIdentifier.ts | 2 +- 22 .../classBody/classWithEmptyBody.ts | 4 +- 24 .../classWithPredefinedTypesAsNames.ts | 4 +- 25 .../classWithSemicolonClassElement1.ts | 3 +- 26 .../classWithSemicolonClassElement2.ts | 3 +- 27 .../classExpressions/classExpression2.ts | 4 +- 57 .../classConstructorAccessibility4.ts | 4 +- 58 ...structorImplementationWithDefaultValues.ts | 6 +- [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/stdlib/packages/ |
| D | escompat.rst | 2 Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 http://www.apache.org/licenses/LICENSE-2.0 18 .. rst-class:: doc-code-block 29 - uriComponent\: :ref:`string<LsLtLd.LcLoLrLe.USLtLrLiLnLg>` 31 ------ 34 .. rst-class:: doc-code-block 39 …characters by one, two, three, or four escape sequences representing the UTF-8 encoding of the cha… 45 - uri\: :ref:`string<LsLtLd.LcLoLrLe.USLtLrLiLnLg>` 47 ------ 50 .. rst-class:: doc-code-block [all …]
|