Home
last modified time | relevance | path

Searched +full:- +full:100 (Results 1 – 25 of 222) sorted by relevance

123456789

/arkcompiler/ets_runtime/test/quickfix/multi_patch/
Dexpect_output.txt6 # http://www.apache.org/licenses/LICENSE-2.0
17 print patch:100 - 200
22 print base:100 - 100
25 print patch1:100 - 300
30 print base:100 - 100
33 print patch2: 100 - 400
38 print base:100 - 100
Dmodule.js7 * http://www.apache.org/licenses/LICENSE-2.0
16 export var a = 100
18 var b = 100
/arkcompiler/ets_runtime/test/aottest/loops/
Dloops.ts7 * http://www.apache.org/licenses/LICENSE-2.0
27 if (i > 100) {
33 for (var i:number = 0; i < 100; i++) {
49 while (j < 100) {
58 while (k < 100) {
72 } while (i < 100);
78 if (j > 100) {
87 if (k < 100) {
91 } while (k < 100);
97 if (i > 100) {
[all …]
Dexpect_output.txt6 # http://www.apache.org/licenses/LICENSE-2.0
29 100
32 100
35 100
/arkcompiler/ets_runtime/test/aottest/stobjbyindex/
Dstobjbyindex.ts7 * http://www.apache.org/licenses/LICENSE-2.0
19 var array = [100, "hello"];
28 let phrase: { 1: string, "100": string | number, fullPhrase: any } = {
29 1 : "100",
30 "100" : "hello",
33 return `${this[1]} ${this["100"]}`;
37 [this[1], this["100"]] = value.split(" ");
41 print(phrase["100"]);
43 phrase["100"] = 1;
45 print(phrase["100"]);
Dexpect_output.txt6 # http://www.apache.org/licenses/LICENSE-2.0
14 100
18 100
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/
Dheap_tracker_test.cpp7 * http://www.apache.org/licenses/LICENSE-2.0
52 static const int heapProfilerChunkSise = 100_KB; in GetSize()
98 instance->SetEnableForceGC(false); in SetUp()
115 heapProfile->StartHeapTracking(50); in HWTEST_F_L0()
117 int count = 100; in HWTEST_F_L0()
118 while (count-- > 0) { in HWTEST_F_L0()
119 instance->GetFactory()->NewJSAsyncFuncObject(); in HWTEST_F_L0()
122 count = 100; in HWTEST_F_L0()
123 while (count-- > 0) { in HWTEST_F_L0()
124 instance->GetFactory()->NewJSSymbol(); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/test/aottest/stobjbyvalue/
Dstobjbyvalue.ts7 * http://www.apache.org/licenses/LICENSE-2.0
20 var hundred = "100";
23 var array = [100, "hello"];
32 let phrase: { 0: string, "100": string | number, fullPhrase: any } = {
33 0 : "100",
34 "100" : "hello",
Dexpect_output.txt6 # http://www.apache.org/licenses/LICENSE-2.0
14 100
18 100
/arkcompiler/ets_runtime/ecmascript/snapshot/tests/
Dsnapshot_test.cpp7 * http://www.apache.org/licenses/LICENSE-2.0
50 thread = ecmaVm->GetJSThread(); in SetUp()
58 ecmaVm->SetEnableForceGC(false); in TearDown()
59 thread->ClearException(); in TearDown()
70 auto factory = ecmaVm->GetFactory(); in HWTEST_F_L0()
71 auto env = ecmaVm->GetGlobalEnv(); in HWTEST_F_L0()
73 JSHandle<ConstantPool> constpool = factory->NewConstantPool(6); in HWTEST_F_L0()
74 JSHandle<JSFunction> funcFunc(env->GetFunctionFunction()); in HWTEST_F_L0()
75 JSHandle<JSFunction> dateFunc(env->GetDateFunction()); in HWTEST_F_L0()
76 JSHandle<JSFunction> numberFunc(env->GetNumberFunction()); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/tests/
Dtagged_value_test.cpp7 * http://www.apache.org/licenses/LICENSE-2.0
21 #include "ecmascript/js_object-inl.h"
24 #include "ecmascript/js_tagged_value-inl.h"
76 …double pureNaN = JSTaggedValue::CastTaggedToDouble(JSTaggedValue::TAG_INT - JSTaggedValue::DOUBLE_… in HWTEST_F_L0()
148 JSTaggedValue intV(100); in HWTEST_F_L0()
150 EXPECT_EQ(result.GetInt(), 100); in HWTEST_F_L0()
179 EXPECT_TRUE(JSTaggedValue(100).ToBoolean()); in HWTEST_F_L0()
194 EXPECT_FALSE(thread->GetEcmaVM()->GetFactory()->GetEmptyString().GetTaggedValue().ToBoolean()); in HWTEST_F_L0()
195 … EXPECT_TRUE(thread->GetEcmaVM()->GetFactory()->NewFromASCII("test").GetTaggedValue().ToBoolean()); in HWTEST_F_L0()
202 JSTaggedValue intV(100); in HWTEST_F_L0()
[all …]
Djs_array_test.cpp7 * http://www.apache.org/licenses/LICENSE-2.0
24 #include "ecmascript/js_object-inl.h"
25 #include "ecmascript/js_tagged_value-inl.h"
60 JSHandle<JSTaggedValue> lengthKeyHandle(thread->GlobalConstants()->GetHandledLengthString()); in HWTEST_F_L0()
64 EXPECT_EQ(JSArray::GetProperty(thread, obj, lengthKeyHandle).GetValue()->GetInt(), 0); in HWTEST_F_L0()
69 EXPECT_EQ(JSArray::GetProperty(thread, obj2, lengthKeyHandle).GetValue()->GetInt(), 10); in HWTEST_F_L0()
74 JSHandle<JSTaggedValue> lengthKeyHandle(thread->GlobalConstants()->GetHandledLengthString()); in HWTEST_F_L0()
78 …Array::GetProperty(thread, JSHandle<JSTaggedValue>(obj), lengthKeyHandle).GetValue()->GetInt(), 0); in HWTEST_F_L0()
83 EXPECT_EQ(JSArray::GetProperty(thread, obj2, lengthKeyHandle).GetValue()->GetInt(), 10); in HWTEST_F_L0()
88 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
[all …]
Dweak_vector_test.cpp7 * http://www.apache.org/licenses/LICENSE-2.0
61 uint32_t weakVectorCapacity = 100; in HWTEST_F_L0()
65 EXPECT_EQ(weakVector->GetEnd(), 0U); in HWTEST_F_L0()
66 EXPECT_TRUE(weakVector->Empty()); in HWTEST_F_L0()
67 EXPECT_EQ(weakVectArr->GetLength(), weakVectorCapacity + 1); in HWTEST_F_L0()
78 uint32_t weakVectorCapacity = 100; in HWTEST_F_L0()
79 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
80 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
81 JSHandle<JSTaggedValue> objFun = env->GetObjectFunction(); in HWTEST_F_L0()
84 …JSHandle<JSObject> weakObj = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFu… in HWTEST_F_L0()
[all …]
/arkcompiler/toolchain/tooling/test/
Dpt_json_test.cpp7 * http://www.apache.org/licenses/LICENSE-2.0
47 ASSERT_TRUE(json->IsBool()); in HWTEST_F_L0()
48 EXPECT_FALSE(json->GetBool()); in HWTEST_F_L0()
49 EXPECT_EQ(json->Stringify(), str); in HWTEST_F_L0()
50 json->ReleaseRoot(); in HWTEST_F_L0()
57 ASSERT_TRUE(json->IsBool()); in HWTEST_F_L0()
58 EXPECT_TRUE(json->GetBool()); in HWTEST_F_L0()
59 EXPECT_EQ(json->Stringify(), str); in HWTEST_F_L0()
60 json->ReleaseRoot(); in HWTEST_F_L0()
65 std::string str = "100"; in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/runtime/mem/gc/
Dgc_trigger.cpp2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
29 static constexpr size_t PERCENT_100 = 100;
59 …// If we have min_heap_size < 100, we get false positives in IsGcTriggered, since we divide by 100 in GCTriggerHeap()
60 ASSERT(min_heap_size >= 100); in GCTriggerHeap()
85 GC *gc = Thread::GetCurrent()->GetVM()->GetGC(); in ComputeNewTargetFootprint()
86 if (gc->IsGenerational() && task.reason_ == GCTaskCause::YOUNG_GC_CAUSE) { in ComputeNewTargetFootprint()
87 // we don't want to update heap-trigger on young-gc in ComputeNewTargetFootprint()
91 size_t target = this->ComputeTarget(heap_size_before_gc, heap_size); in ComputeNewTargetFootprint()
102 // Note: divide by 100 first to avoid overflow in ComputeTarget()
[all …]
/arkcompiler/ets_runtime/test/aottest/stownbyindex/
Dstownbyindex.ts7 * http://www.apache.org/licenses/LICENSE-2.0
25 "100" : [4, 5],
29 print(b["100"][0]);
30 print(b["100"][1]);
/arkcompiler/runtime_core/compiler/tests/
Dliveness_analyzer_test.cpp2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
25 #define LIVE_RANGES_DEQUE(...) LiveRanges({__VA_ARGS__}, GetAllocator()->Adapter())
48 * /--[2]--\
52 * /----------->[4]---------->[3]<---------[15]-------\
55 * [12] [5] [6]<-----------\ |
58 * \------------[11] [7] [10] |
61 * [13] [8]---------->[9] |
64 * [1] [14]---------------------/
102 BASIC_BLOCK(13, -1) in TEST_F()
[all …]
Dlife_intervals_test.cpp2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
26 auto inst = graph_->CreateInstConstant(42); in Create()
27 auto li = GetAllocator()->New<LifeIntervals>(GetAllocator(), inst); in Create()
29 li->AppendRange(range->first, range->second); in Create()
42 ASSERT_EQ((*it)->GetSibling(), nullptr); in CheckSiblings()
44 ASSERT_EQ((*it)->GetSibling(), *next); in CheckSiblings()
52 auto li_ranges = interval->GetRanges(); in CheckRanges()
72 auto split = interval->SplitAt(4, GetAllocator()); in TEST_F()
82 auto split = interval->SplitAt(6, GetAllocator()); in TEST_F()
[all …]
/arkcompiler/ets_frontend/ts2panda/src/
DcompilerStatistics.ts7 * http://www.apache.org/licenses/LICENSE-2.0
173 // @ts-ignore
191 …+ Math.round(value.getSavedSizeIfRemoved(this) / totalSize * 100) + "%"); // multiplying 100 is to…
194 …izeIfRemoved(this) + "\t" + Math.round(value.getSavedSizeIfRemoved(this) / totalSize * 100) + "%");
197 …izeIfRemoved(this) + "\t" + Math.round(value.getSavedSizeIfRemoved(this) / totalSize * 100) + "%");
210 …t" + node + "\t\t\t\t\t\tnum: \t" + num + "\t\t" + Math.round(num / value.getCount() * 100) + "%");
212 … \t" + node + "\t\t\t\t\tnum: \t" + num + "\t\t" + Math.round(num / value.getCount() * 100) + "%");
214 …e: \t" + node + "\t\t\t\tnum: \t" + num + "\t\t" + Math.round(num / value.getCount() * 100) + "%");
216 …ode: \t" + node + "\t\t\tnum: \t" + num + "\t\t" + Math.round(num / value.getCount() * 100) + "%");
252 // @ts-ignore
/arkcompiler/runtime_core/tests/cts-assembly/
Dmath-30.pa1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
14 # assert(25 << 2 == 100) operation --> shl2.64
19 movi.64 v0, 100
Dmath-29.pa1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
14 # assert(100 >> 2 == 25) operation --> shr2.64
16 ldai.64 100
/arkcompiler/runtime_core/tests/regression/
Dbitops-bitwise-and.pa1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
15 # set 100 for fast run
16 movi v0, 100
/arkcompiler/ets_runtime/test/quickfix/global_var/
Dexpect_output.txt6 # http://www.apache.org/licenses/LICENSE-2.0
17 patch old global var :100
23 base global var :100
/arkcompiler/ets_runtime/test/quickfix/import_export/
Dexpect_output.txt6 # http://www.apache.org/licenses/LICENSE-2.0
17 print patch: 100
23 print base: 100
/arkcompiler/ets_runtime/test/moduletest/array/
Darray.js7 * http://www.apache.org/licenses/LICENSE-2.0
22 var arr = new Array(100);
23 var a = arr.slice(90, 100);
30 var arr2 = new Array(100);

123456789