/arkcompiler/ets_frontend/test262/ |
D | es2022_tests.txt | 63 built-ins/Array/prototype/at/returns-item-relative-index.js 64 built-ins/Array/prototype/at/index-argument-tointeger.js 65 built-ins/Array/prototype/at/index-non-numeric-argument-tointeger.js 66 built-ins/Array/prototype/at/length.js 67 built-ins/Array/prototype/at/returns-undefined-for-out-of-range-index.js 68 built-ins/Array/prototype/at/return-abrupt-from-this.js 69 built-ins/Array/prototype/at/index-non-numeric-argument-tointeger-invalid.js 70 built-ins/Array/prototype/at/prop-desc.js 71 built-ins/Array/prototype/at/returns-undefined-for-holes-in-sparse-arrays.js 72 built-ins/Array/prototype/at/returns-item.js [all …]
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | genericFunctionsAndConditionalInference.ts | 6 * You may obtain a copy of the License at 85 const ok = <F extends Target>(at: Ops<F>) => ({lr: at.lr(at.str, at.num)}) 87 AssertType(<F extends Target>(at: Ops<F>) => ({lr: at.lr(at.str, at.num)}), "<F extends keyof Targe… 88 AssertType(at, "Ops<F>"); 89 AssertType(({lr: at.lr(at.str, at.num)}), "{ lr: Result<F, LR<F, string, number>>; }"); 90 AssertType({lr: at.lr(at.str, at.num)}, "{ lr: Result<F, LR<F, string, number>>; }"); 92 AssertType(at.lr(at.str, at.num), "Result<F, LR<F, string, number>>"); 93 AssertType(at.lr, "<I, O>(Result<F, I>, Result<F, O>) => Result<F, LR<F, I, O>>"); 94 AssertType(at.str, "Result<F, string>"); 95 AssertType(at.num, "Result<F, number>"); [all …]
|
D | commentsFormatting.ts | 6 * You may obtain a copy of the License at 28 * this is at same level as first line 49 * this is at same level as first line 71 this is at same level as first line but above line is empty
|
D | contextualSignatureInstatiationCovariance.ts | 6 * You may obtain a copy of the License at 35 g2 = f2; // While neither Animal nor TallThing satisfy the constraint, T is at worst a Giraffe and … 45 h2 = f2; // Animal does not satisfy the constraint, but T is at worst a Giraffe and compatible with…
|
/arkcompiler/ets_runtime/test/moduletest/typedarrayat/ |
D | typedarrayat.js | 5 * You may obtain a copy of the License at 18 * @tc.desc:test TypedArray.at 59 result.push(obj.at(-1) == 14); 60 result.push(obj.at(1.5) == 11); 61 result.push(obj.at(-3) == 12); 62 result.push(obj.at("3") == 13) 63 result.push(obj.at(-6) == undefined); 64 result.push(obj.at(5) == undefined); 65 result.push(obj.at({}) == 10); 82 result.push(obj.at(-1) == 9017199254740995n); [all …]
|
/arkcompiler/ets_frontend/es2panda/typescript/types/ |
D | globalTypesHolder.cpp | 5 * You may obtain a copy of the License at 75 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::NUMBER)); in GlobalNumberType() 80 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::ANY)); in GlobalAnyType() 85 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::STRING)); in GlobalStringType() 90 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::SYMBOL)); in GlobalSymbolType() 95 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::BOOLEAN)); in GlobalBooleanType() 100 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::VOID)); in GlobalVoidType() 105 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::NULL_ID)); in GlobalNullType() 110 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::UNDEFINED)); in GlobalUndefinedType() 115 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::UNKNOWN)); in GlobalUnknownType() [all …]
|
/arkcompiler/runtime_core/assembler/tests/ |
D | assembler_parser_test.cpp | 5 * You may obtain a copy of the License at 49 EXPECT_EQ(item.Value().function_table.at(sig_main).ins[0].regs[0], 1) << "1 expected"; 50 EXPECT_EQ(item.Value().function_table.at(sig_main).ins[0].regs[1], 2) << "2 expected"; 71 EXPECT_EQ(item.Value().function_table.at(sig_main).ins[0].label, "label") << "label expected"; 72 EXPECT_EQ(item.Value().function_table.at(sig_main).ins[0].set_label, true) << "true expected"; 73 …EXPECT_EQ(item.Value().function_table.at(sig_main).ins[0].opcode, Opcode::INVALID) << "NONE expect… 254 EXPECT_EQ(item.Value().function_table.at(func_name).ins[3].ids[0], "foo") << "nain expected"; 255 EXPECT_EQ(item.Value().function_table.at(func_name).ins[0].regs[0], 0) << "1 expected"; 256 EXPECT_EQ(item.Value().function_table.at(func_name).ins[0].regs[1], 5) << "2 expected"; 314 EXPECT_EQ(item.Value().function_table.at(sig_main).ins[0].opcode, Opcode::JMP) << "ID expected"; [all …]
|
D | parser_test.cpp | 5 * You may obtain a copy of the License at 35 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].opcode, Opcode::MOV); in TEST() 36 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].regs[0], 1) << "1 expected"; in TEST() 37 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].regs[1], 2) << "2 expected"; in TEST() 52 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].label, "label") << "label expected"; in TEST() 53 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].set_label, true) << "true expected"; in TEST() 54 …ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].opcode, Opcode::INVALID) << "NONE expect… in TEST() 91 … ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].opcode, Opcode::ADDI) << "IMM expected"; in TEST() 92 …ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].imms[0], Ins::IType(int64_t(1))) << "1 e… in TEST() 107 … ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].opcode, Opcode::ADDI) << "IMM expected"; in TEST() [all …]
|
D | assembler_emitter_test.cpp | 5 * You may obtain a copy of the License at 979 program.Value().record_table.at("R").field_list[0].metadata->SetValue(insn_order); 984 …program.Value().literalarray_table.at("array").literals_[0].tag_ = panda_file::LiteralTag::LITERAL… 985 … program.Value().literalarray_table.at("array").literals_[0].value_.emplace<std::string>("array"); 987 program.Value().record_table.at("R").field_list[0].metadata->SetValue(insn_order_lite); 992 program.Value().record_table.at("R").field_list[0].metadata->SetValue(insn_order_enum); 993 …program.Value().record_table.at("R").field_list[0].metadata->SetAttributeValue("external", "enum"); 998 program.Value().record_table.at("R").field_list[0].metadata->SetValue(insn_order_method); 1014 program.Value().record_table.at("R").field_list[0].metadata->SetValue(insn_order_anno); 1046 item.Value().literalarray_table.at("array").literals_[0].tag_ = panda_file::LiteralTag::BOOL; [all …]
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | work_manager.cpp | 5 * You may obtain a copy of the License at 36 continuousQueue_.at(i) = new ProcessQueue(heap); 46 continuousQueue_.at(i)->Destroy(); in ~WorkManager() 47 delete continuousQueue_.at(i); in ~WorkManager() 48 continuousQueue_.at(i) = nullptr; in ~WorkManager() 57 WorkNode *&inNode = works_.at(threadId).inNode_; in Push() 78 WorkNode *&inNode = works_.at(threadId).inNode_; in PushWorkNodeToGlobal() 91 WorkNode *&outNode = works_.at(threadId).outNode_; in Pop() 92 WorkNode *&inNode = works_.at(threadId).inNode_; in Pop() 108 return workStack_.Pop(&works_.at(threadId).outNode_); in PopWorkNodeFromGlobal() [all …]
|
D | work_manager.h | 5 * You may obtain a copy of the License at 161 works_.at(threadId).weakQueue_->PushBack(weak); in PushWeakReference() 166 works_.at(threadId).promotedSize_ += size; in IncreaseAliveSize() 171 works_.at(threadId).promotedSize_ += size; in IncreasePromotedSize() 176 return works_.at(threadId).weakQueue_; in GetWeakReferenceQueue() 181 return works_.at(threadId).allocator_; in GetTlabAllocator() 186 works_.at(threadId).pendingUpdateSlots_.emplace_back(slot); in PushSlotNeedUpdate() 191 std::vector<SlotNeedUpdate> &pendingUpdateSlots = works_.at(threadId).pendingUpdateSlots_; in GetSlotNeedUpdate()
|
/arkcompiler/ets_frontend/test/scripts/ |
D | timer.py | 7 # You may obtain a copy of the License at 32 schedule.every().day.at("01:00").do(job, cmd=os.path.join( 35 schedule.every().day.at("01:00").do( 38 schedule.every().day.at("01:00").do( 41 schedule.every().day.at("01:00").do(
|
/arkcompiler/runtime_core/docs/ |
D | debugger-vscode-communication.md | 18 * It's critical for VSCode to have a debug server initialized at allocated time so we establish a t… 20 * When the connection is established (if it is at the allocated time) test client disconnects and r… 21 * If connection was not established at the allocated time the `Can not launch debug server` error w…
|
D | rationale-for-bytecode.md | 10 Before discussing bytecode per se, let's take a look at an over-simplified picture of a real 54 add ; remove two top-most values from the stack, add them and put the result at the top 55 ; at this point, the top of the stack contains arg1 + arg2 66 ; at this point, virtual register 0 contains arg1 + arg2 76 At the same time, to execute a stack-based addition we need to run 3 instructions compared to 82 if substituted by a stack-based analogue. At the same time, performance becomes 10%-40% worse 105 ; at this point, accumulator register contains arg1 + arg2 133 Let's take a closer look at `adda arg1, arg2`. Assume that arguments map to virtual registers on
|
/arkcompiler/ets_frontend/es2panda/test/hotreload/hotreload-throwerror/modify-class-1/ |
D | expected.txt | 4 # You may obtain a copy of the License at 14 …ing UI Component, please only change one Component at a time and make sure the Component is placed…
|
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/ |
D | global_type_infer.cpp | 5 * You may obtain a copy of the License at 59 MethodInfo &methodInfo = methodList.at(methodOffset); in NewTypeInfer() 87 MethodInfo &methodInfo = methodList.at(methodOffset); in CollectNamespaceMethod() 91 MethodInfo &innerMethodInfo = methodList.at(innerMethods[i]); in CollectNamespaceMethod() 114 MethodInfo &methodInfo = methodList.at(methodOffset_); in ProcessTypeInference() 123 // In TS, a namespace declaration is only allowed at the top level of a namespace or module and in ProcessTypeInference()
|
/arkcompiler/ets_frontend/testTs/ |
D | test-case.patch | 722 \ No newline at end of file 740 \ No newline at end of file 783 \ No newline at end of file 793 \ No newline at end of file 827 \ No newline at end of file 847 \ No newline at end of file 856 \ No newline at end of file 865 \ No newline at end of file 874 \ No newline at end of file 939 \ No newline at end of file [all …]
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
D | split_resolver.cpp | 5 * You may obtain a copy of the License at 54 …<< "Connect siblings for inst v" << interval->GetInst()->GetId() << " at point: " << curr->GetBegi… in ConnectSiblings() 59 // some block), so the SpillFill should be placed at the end of predecessor block. in ConnectSiblings() 116 …// Find sibling at the 'end - LIFE_NUMBER_GAP' position to connect siblings that were split at the… in ConnectSpiltFromPredBlock() 119 // Instruction was not defined at predecessor or has the same location there in ConnectSpiltFromPredBlock() 169 // Without CONNECT_SPLIT_SIBLINGS single SpillFillInst would be inserted at the end of BB1 in CreateSpillFillForSplitMove() 171 // at the beginning of BB1). RegAllocResolver may not handle such moves so it should be in CreateSpillFillForSplitMove()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | compilation_driver.h | 5 * You may obtain a copy of the License at 53 auto &resolvedMethodInfo = methodList.at(resolvedMethod.GetOffset()); in UpdateCompileQueue() 114 auto &methodInfo = methodList.at(compilingMethod); in Run() 149 auto &methodInfo = methodList.at(resolvedMethod); in AddResolvedMethod() 189 auto &methodInfo = methodList.at(methodOffset); in AddDependList() 204 // if current method is at the boundary state, we should stop the define chain search. in VerifyAndMarkCurMethod() 232 return sortedRecords_.at(first) < sortedRecords_.at(second); in UpdateResolveDepends() 275 auto &mainMethodInfo = methodList.at(mainMethodOffset); in SearchForCompilation() 295 auto &methodInfo = methodList.at(methodOffset); in SearchForCompilation() 310 auto outMethodInfo = methodList.at(outMethodOffset); in SearchForCompilation()
|
/arkcompiler/toolchain/tooling/test/testcases/ |
D | js_step_out_test.h | 5 * You may obtain a copy of the License at 53 ASSERT_LOCATION_EQ(location, pointerLocations_.at(breakpointCounter_)); in JsStepOutTest() 64 ASSERT_LOCATION_EQ(location, stepLocations_.at(stepCompleteCounter_)); in JsStepOutTest() 77 TestUtil::WaitForBreakpoint(pointerLocations_.at(index)); in JsStepOutTest() 80 TestUtil::WaitForStepComplete(stepLocations_.at(index)); in JsStepOutTest()
|
D | js_step_into_test.h | 5 * You may obtain a copy of the License at 55 ASSERT_LOCATION_EQ(location, pointerLocations_.at(breakpointCounter_)); in JsStepIntoTest() 66 ASSERT_LOCATION_EQ(location, stepLocations_.at(stepCompleteCounter_)); in JsStepIntoTest() 79 TestUtil::WaitForBreakpoint(pointerLocations_.at(index)); in JsStepIntoTest() 82 TestUtil::WaitForStepComplete(stepLocations_.at(index)); in JsStepIntoTest()
|
D | js_step_over_test.h | 5 * You may obtain a copy of the License at 53 ASSERT_LOCATION_EQ(location, pointerLocations_.at(breakpointCounter_)); in JsStepOverTest() 64 ASSERT_LOCATION_EQ(location, stepLocations_.at(stepCompleteCounter_)); in JsStepOverTest() 77 TestUtil::WaitForBreakpoint(pointerLocations_.at(index)); in JsStepOverTest() 80 TestUtil::WaitForStepComplete(stepLocations_.at(index)); in JsStepOverTest()
|
/arkcompiler/runtime_core/libpandabase/mem/ |
D | malloc_mem_pool-inl.h | 5 * You may obtain a copy of the License at 58 … << " at addr = " << std::hex << buff << " for " << SpaceTypeToString(space_type); in AllocArenaImpl() 66 << " at addr = " << std::hex << arena; in FreeArenaImpl() 80 …LOG_MALLOC_MEM_POOL(DEBUG) << "Allocated new pool with size " << std::dec << size << " at addr = "… in AllocPoolImpl() 88 …LOG_MALLOC_MEM_POOL(DEBUG) << "Try to free pool with size " << std::dec << size << " at addr = " <… in FreePoolImpl()
|
/arkcompiler/ets_runtime/test/moduletest/array/ |
D | array.js | 5 * You may obtain a copy of the License at 140 print(arr21.at(0)); 141 print(arr21.at(5)); 142 print(arr21.at(-1)); 143 print(arr21.at(6)); 144 print(arr21.at('1.9')); 145 print(arr21.at(true));
|
/arkcompiler/runtime_core/tests/verifier-tests/ |
D | cflow_execution_may_go_beyond_the_end.pa | 4 # You may obtain a copy of the License at 15 # improperly cflow termination at the end of the function
|