| /arkcompiler/ets_runtime/test/deopttest/elements_kind/ |
| D | elements_kind.ts | 7 * http://www.apache.org/licenses/LICENSE-2.0 20 a = new Array(500); 21 for (let i = 0; i < 500; i++) { 22 let arr = new Array(500); 24 for (let j = 0; j < 500; j++) {
|
| /arkcompiler/runtime_core/static_core/tests/vm-benchmarks/tests/ |
| D | test_gc_ark_reporter.py | 2 # -*- coding: utf-8 -*- 9 # http://www.apache.org/licenses/LICENSE-2.0 37 mem_after=200, mem_total=500, 51 mem_after=200, mem_total=500, 58 self.assertEqual(events[1].timestamp - events[0].timestamp + events[1].gc_time, 99 mem_after=200, mem_total=500, 115 mem_after=200, mem_total=500, 126 gc_vm_time = adjust_time['fw_end_time'] - adjust_time['fw_start_time'] 131 self.assertEqual(events[i].timestamp - delta, p[0]) 146 mem_total=500, [all …]
|
| /arkcompiler/ets_runtime/ecmascript/napi/include/ |
| D | dfx_jsnapi.h | 2 * Copyright (c) 2021-2023 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 119 … int interval = 500); // 500:Default Sampling interval 500 microseconds 122 … int interval = 500); // 500:Default Sampling interval 500 microseconds 131 int interval = 500; // 500:Default Sampling interval 500 microseconds
|
| /arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/ |
| D | js_stackgetter.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 69 char recordName[500] = {0}; // 500:the maximum size of the recordName 70 int columnNumber = -1; 71 int lineNumber = -1; 73 char url[500] = {0}; // 500:the maximum size of the url
|
| /arkcompiler/ets_runtime/test/aottest/operations_stub_test/ |
| D | operations_stub_test.ts | 7 * http://www.apache.org/licenses/LICENSE-2.0 16 const CLICK_TIME : number = 500 18 print(nowTime - CLICK_TIME > 500)
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | getter_setter_static_modifier.sts | 2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 79 Glass.Transparent = 500; 86 assert transparent == 500; 87 assert Glass.Transparent == 500;
|
| D | BitwiseOperationsOnFloat.sts | 2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 45 /* ---- Compile time tests ---- */ 48 assert (542.910991 & -1903.2040221) == 16 49 assert (-542.910991 & 1903.2040221) == 1378 50 assert (-542.910991 & -1903.2040221) == -1920 54 assert (-NaN & -23432.34110144432) == 0 55 assert (Infinity & -94.24445985981884) == 9223372036854775714 56 assert (-Infinity & 94.24445985981884) == 0 60 assert (542.910991 | -1903.2040221) == -1377 [all …]
|
| D | SpreadExpressions.sts | 7 * http://www.apache.org/licenses/LICENSE-2.0 54 let expectedUnion : unionType[] = [100, 200, "first", "second", 500, 600, "first", "second"] 55 let arrayUnion: unionType[] = [100, 200, ...unionArray, 500, 600, ...unionArray]
|
| D | Bitops3BitBitsInByte.sts | 2 * Copyright (c) 2022-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 26 private n1: int = 500;
|
| /arkcompiler/ets_runtime/test/moduletest/createobject/ |
| D | expect_output.txt | 6 # http://www.apache.org/licenses/LICENSE-2.0 34 500 35 500
|
| D | createobject.js | 7 * http://www.apache.org/licenses/LICENSE-2.0 33 500: "500", property
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/05.Generics/5.6.Utility_Types/5.6.1.Partial_Utility_Type/ |
| D | partial_utility_type_0002.sts | 7 * http://www.apache.org/licenses/LICENSE-2.0 16 /*--- 20 ---*/ 29 bar.var_one = 500 36 assert a.var_one == 500
|
| D | partial_utility_type_0009.sts | 7 * http://www.apache.org/licenses/LICENSE-2.0 16 /*--- 20 ---*/ 29 bar.var_one = 500 36 assert a.var_one == 500
|
| D | partial_utility_type_0011.sts | 7 * http://www.apache.org/licenses/LICENSE-2.0 16 /*--- 20 ---*/ 29 bar.var_one = 500 36 assert a.var_one == 500
|
| D | partial_utility_type_0008.sts | 7 * http://www.apache.org/licenses/LICENSE-2.0 16 /*--- 20 ---*/ 29 bar.var_one = 500 36 assert a.var_one == 500
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
| D | global.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 35 …/* if the number of bbs is more than 500 or the number of insns is more than 9000, don't optimize.… 36 static constexpr uint32 kMaxBBNum = 500;
|
| D | strldr.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 35 …/* if the number of bbs is more than 500 or the number of insns is more than 9000, don't optimize.… 36 static constexpr uint32 kMaxBBNum = 500;
|
| /arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
| D | cpu_profiler.h | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 47 thread_->SetGcState(true); in GcStateScope() 52 thread_->SetGcState(false); in ~GcStateScope() 63 jsDebuggerManager_->SetSignalState(true); in SignalStateScope() 68 jsDebuggerManager_->SetSignalState(false); in ~SignalStateScope() 79 oldState_ = thread_->GetRuntimeState(); in RuntimeStateScope() 80 thread_->SetRuntimeState(true); in RuntimeStateScope() 85 thread_->SetRuntimeState(oldState_); in ~RuntimeStateScope() 94 …static const int CPUPROFILER_DEFAULT_INTERVAL = 500; // 500:Default Sampling interval 500 microsec… [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/11.enumerations/01.enumeration_integer_values/ |
| D | enum_int.params.yaml | 1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 14 --- 16 - decl: |- 18 use: |- 23 - decl: |- 24 enum Enum { first, second = -2147483648, third} 25 use: |- 27 assert Enum.second.valueOf() == -2147483648 28 assert Enum.third.valueOf() == -2147483647 [all …]
|
| /arkcompiler/runtime_core/static_core/tests/vm-benchmarks/examples/benchmarks/ts/ |
| D | VoidBench.ts | 7 * http://www.apache.org/licenses/LICENSE-2.0 21 n: number = 500;
|
| /arkcompiler/ets_runtime/test/moduletest/ldmodulensbyic/ |
| D | ldmodulensbyic.js | 7 * http://www.apache.org/licenses/LICENSE-2.0 25 for(let i = 0; i< 500; ++i) {
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | g1_analytics_test.cpp | 2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 120 const auto startTimeDelta = -20'000'000; in TEST_F() 234 const auto startTimeDelta = -20'000'000; in TEST_F() 333 const uint64_t delta = 2'500'000; in FillAnalyticsPause1PredictionTest() 342 const uint64_t delta = 6'500'000; in FillAnalyticsPause1PredictionTest() 356 const uint64_t delta = 7'500'000; in FillAnalyticsPause1PredictionTest() 407 const uint64_t delta = 8'500'000; in FillAnalyticsPause2PredictionTest() 417 const auto startTimeDelta = -20'000'000; in TEST_F() 429 const double maxError = 1e-6; in TEST_F() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| D | template_literals.sts | 2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 20 const templateHead = `template-head ${20 + 40}`; 21 const templateTail = `${empty.length > 0 ? 100 : 200} template-tail`; 22 const templateCompound = `apple ${400} orange \n ${500} 24 const nested = `outer ${`inner ${1000} inner-end`} outer-end`;
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | gc_third_test.cpp | 7 * http://www.apache.org/licenses/LICENSE-2.0 19 #include "ecmascript/object_factory-inl.h" 38 thread = instance->GetJSThread(); in SetUp() 39 thread->ManagedCodeBegin(); in SetUp() 41 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in SetUp() 42 heap->GetConcurrentMarker()->EnableConcurrentMarking(EnableConcurrentMarkType::ENABLE); in SetUp() 43 heap->GetSweeper()->EnableConcurrentSweep(EnableConcurrentSweepType::ENABLE); in SetUp() 49 Heap *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 50 heap->GetConcurrentMarker()->EnableConcurrentMarking(EnableConcurrentMarkType::CONFIG_DISABLE); in HWTEST_F_L0() 51 … auto getSizeAfterCreateAndCallHintGC = [this, heap] (size_t &newSize, size_t &finalSize) -> bool { in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/ |
| D | class_instance_initializer.sts | 7 * http://www.apache.org/licenses/LICENSE-2.0 48 this.d -= 44; 62 this.d -= 44; 63 this.c = 500;
|