Home
last modified time | relevance | path

Searched full:1024 (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-common-tests/atomics/
Dnonconcurrent_common_store_load.ets18 let sab = new ArrayBuffer(1024);
25 let sab = new ArrayBuffer(1024);
32 let sab = new ArrayBuffer(1024);
39 let sab = new ArrayBuffer(1024);
46 let sab = new ArrayBuffer(1024);
53 let sab = new ArrayBuffer(1024);
60 let sab = new ArrayBuffer(1024);
67 let sab = new ArrayBuffer(1024);
/arkcompiler/ets_runtime/ecmascript/tests/
Dmem_map_allocator_test.cpp29 constexpr size_t HUGE_OBJECT_CAPACITY = 1024_MB;
42 size_t size1 = 256 * 1024 * 1024; in HWTEST_F_L0()
47 size_t size2 = 512 * 1024 * 1024; in HWTEST_F_L0()
52 size_t size3 = 512 * 1024 * 1024; in HWTEST_F_L0()
Dgc_second_test.cpp90 …nused]] JSHandle<TaggedArray> obj = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(1024 * 1024); in HWTEST_F_L0()
114 10 * 1024, JSTaggedValue::Hole(), MemSpaceType::SEMI_SPACE); in HWTEST_F_L0()
134 10 * 1024, JSTaggedValue::Hole(), MemSpaceType::SEMI_SPACE); in HWTEST_F_L0()
153 1024, JSTaggedValue::Hole(), MemSpaceType::SEMI_SPACE); in HWTEST_F_L0()
161 1024, JSTaggedValue::Hole(), MemSpaceType::SEMI_SPACE); in HWTEST_F_L0()
178 10 * 1024, JSTaggedValue::Hole(), MemSpaceType::SEMI_SPACE); in HWTEST_F_L0()
285 factory->NewTaggedArray(1024, JSTaggedValue::Hole(), MemSpaceType::OLD_SPACE); in HWTEST_F_L0()
286 factory->NewSOldSpaceTaggedArray(1024, JSTaggedValue::Hole()); in HWTEST_F_L0()
293 …[[maybe_unused]] JSHandle<TaggedArray> array = factory->NewTaggedArray(1024, JSTaggedValue::Hole(), in HWTEST_F_L0()
295 [[maybe_unused]] JSHandle<TaggedArray> sArray = factory->NewSOldSpaceTaggedArray(1024, in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/gclog/
Dutils.py32 "KB": 1024,
33 "MB": 1024 * 1024,
34 "GB": 1024 * 1024 * 1024
/arkcompiler/ets_runtime/test/fuzztest/objectgetinformation_fuzzer/
Dobjectgetinformation_fuzzer.cpp31 std::string str1 = fdp.ConsumeRandomLengthString(1024); in ObjectGetAllPropertyNamesFuzzTest()
33 std::string str2 = fdp.ConsumeRandomLengthString(1024); in ObjectGetAllPropertyNamesFuzzTest()
35 const int32_t index = fdp.ConsumeIntegralInRange<int32_t>(0, 1024); in ObjectGetAllPropertyNamesFuzzTest()
49 const int32_t key = fdp.ConsumeIntegralInRange<int32_t>(0, 1024); in ObjectGetNativePointerFieldCountFuzzTest()
62 std::string str1 = fdp.ConsumeRandomLengthString(1024); in ObjectGetOwnEnumerablePropertyNamesFuzzTest()
64 std::string str2 = fdp.ConsumeRandomLengthString(1024); in ObjectGetOwnEnumerablePropertyNamesFuzzTest()
66 const int32_t index = fdp.ConsumeIntegralInRange<int32_t>(0, 1024); in ObjectGetOwnEnumerablePropertyNamesFuzzTest()
80 std::string str1 = fdp.ConsumeRandomLengthString(1024); in ObjectGetOwnPropertyNamesFuzzTest()
82 std::string str2 = fdp.ConsumeRandomLengthString(1024); in ObjectGetOwnPropertyNamesFuzzTest()
84 const int32_t index = fdp.ConsumeIntegralInRange<int32_t>(0, 1024); in ObjectGetOwnPropertyNamesFuzzTest()
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/tests/
Dtest_gc_ark_pause.py42 self.assertEqual(4 * 1024 * 1024, pev.freed_object_mem, 'freed objects memory is correct')
45 self.assertEqual(46 * 1024 * 1024, pev.mem_after, 'memory after gc is correct')
46 self.assertEqual(256 * 1024 * 1024, pev.mem_total, 'memory total is correct')
/arkcompiler/ets_runtime/test/fuzztest/setcpusamplinginterval_fuzzer/
Dsetcpusamplinginterval_fuzzer.cpp43 if (key <= 0 || key > 1024) { // 1024 : 1M in size in SetCpuSamplingIntervalFuzzTest()
44 key = 1024; // 1024 : 1M in size in SetCpuSamplingIntervalFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/notifyidletime_fuzzer/
Dnotifyidletime_fuzzer.cpp43 const int32_t MaxMenory = 1024; in NotifyIdleTimeFuzzTest()
44 if (key <= 0 || key > 1024) { // 1024 : 1M in size in NotifyIdleTimeFuzzTest()
45 key = MaxMenory; // 1024 : 1M in size in NotifyIdleTimeFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/setnativepointerfieldcount_fuzzer/
Dsetnativepointerfieldcount_fuzzer.cpp42 if (key <= 0 || key > 1024) { // 1024 : 1M in size in SetNativePointerFieldCountFuzzTest()
43 key = 1024; // 1024 : 1M in size in SetNativePointerFieldCountFuzzTest()
/arkcompiler/ets_runtime/test/aottest/lower_jscode_0001/
Dlower_jscode_0001.ts18 const v5 = new Int8Array(1024);
24 try { v14 = v2.forEach(1024, v2); } catch (e) {}
39 f23(1024, v17, 2147483648)
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/rawheap_translate/
Dutils.h38 #define MAX_FILE_SIZE (4 * 1024 * 1024 * 1024ULL) // 4 * 1024 * 1024 * 1024 : file size bigger than…
/arkcompiler/ets_runtime/test/jittest/lower_jscode_0001/
Dlower_jscode_0001.ts18 const v5 = new Int8Array(1024);
24 try { v14 = v2.forEach(1024, v2); } catch (e) {}
39 f23(1024, v17, 2147483648)
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/
DXTexture.js34 this.textTmpRid = this.loadTexture(1024, 256);
38 this.textCvs.width = 1024;
107 TmpCut(rid, x = 0, y = 0, w = -1, h = -1, ww = 1024, hh = 1024) {
205 this.textCtx.clearRect(0, 0, 1024, 256);
209 let imgd = this.textCtx.getImageData(0, 0, 1024, 256).data;
210 let w = 1024;
216 let p = (h * 1024 + x) * 4;
226 let p = (y * 1024 + w) * 4;
262 rid = this.loadTexture(1024, 1024);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/class_ops/
Dclass_set_static_field_int_test.cpp52 ASSERT_EQ(env_->Class_SetStaticField_Int(cls, field, 1024U), ANI_OK); in TEST_F()
54 ASSERT_EQ(result, 1024U); in TEST_F()
67 ASSERT_EQ(env_->c_api->Class_SetStaticField_Int(env_, cls, field, 1024U), ANI_OK); in TEST_F()
69 ASSERT_EQ(result, 1024U); in TEST_F()
79 ASSERT_EQ(env_->Class_SetStaticField_Int(cls, field, 1024U), ANI_INVALID_TYPE); in TEST_F()
92 ASSERT_EQ(env_->Class_SetStaticField_Int(nullptr, field, 1024U), ANI_INVALID_ARGS); in TEST_F()
99 ASSERT_EQ(env_->Class_SetStaticField_Int(cls, nullptr, 1024U), ANI_INVALID_ARGS); in TEST_F()
138 const ani_int setTar = 1024; in TEST_F()
/arkcompiler/ets_runtime/common_components/common/
Dmem_common.h33 constexpr size_t MAX_BYTES = 256 * 1024;
35 enum AlignNmu { ALIGN_8 = 8, ALIGN_16 = 16, ALIGN_128 = 128, ALIGN_1024 = 1024, ALIGN_8192 = 8 * 10…
39 ALING_16_BYTE = 1024,
40 ALING_128_BYTE = 8 * 1024,
41 ALING_1024_BYTE = 64 * 1024,
42 ALING_8192_BYTE = 256 * 1024,
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dtype_converter.h85 constexpr std::array<double, 4> COEFFS_MEMORY = {1024, 1024, 1024, 1024};
/arkcompiler/ets_frontend/arkguard/test/ut/utils/
DMemoryUtils.spec.ts24 const highBaseLine = 1000 * 1024 * 1024; // 1000MB
25 const highBase = 1000 * 1024 * 1024; // 1000MB
/arkcompiler/runtime_core/libpandabase/utils/
Dtype_converter.h85 constexpr std::array<double, 4> COEFFS_MEMORY = {1024, 1024, 1024, 1024};
/arkcompiler/ets_runtime/test/moduletest/objectkeys/
Dexpect_output.txt23 1024
24 1024
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dmetadata_layout.h164 static constexpr intptr_t kOffsetBound = 128 * 1024 * 1024;
168 static constexpr intptr_t kPositiveOffsetBias = 128 * 1024 * 1024;
176 …static constexpr uintptr_t kOffsetBound = 256 * 1024 * 1024; // according to kDsoLoadedAddessEnd …
194 …static constexpr uint32_t kOffsetBound = 256 * 1024 * 1024; // according to kDsoLoadedAddessEnd =…
205 static constexpr int32_t kNegativeOffsetMin = -(256 * 1024 * 1024); // -kOffsetBound
/arkcompiler/ets_runtime/test/fuzztest/promiserejectinfo_fuzzer/
Dpromiserejectinfo_fuzzer.cpp33 std::string str = fdp.ConsumeRandomLengthString(1024); in PromiseRejectInfoNewFuzzTest()
50 std::string str = fdp.ConsumeRandomLengthString(1024); in GetDataFuzzTest()
68 std::string str = fdp.ConsumeRandomLengthString(1024); in PromiseRejectInfoGetPromiseFuzzTest()
85 std::string str = fdp.ConsumeRandomLengthString(1024); in PromiseRejectInfoGetReasonFuzzTest()
102 std::string str = fdp.ConsumeRandomLengthString(1024); in PromiseRejectInfoGetOperationFuzzTest()
/arkcompiler/runtime_core/static_core/runtime/tests/
Dg1_analytics_test.cpp291 const size_t evacuatedBytes = 2 * 1024 * 1024; in FillAnalyticsPause0PredictionTest()
344 const size_t evacuatedBytes = 2 * 1024 * 1024; in FillAnalyticsPause1PredictionTest()
396 const size_t evacuatedBytes = 2 * 1024 * 1024; in FillAnalyticsPause2PredictionTest()
459 const size_t liveBytes = 64 * 1024; in TEST_F()
486 const size_t evacuatedBytes = 2 * 1024 * 1024; in TEST_F()
509 const size_t evacuatedBytes = 2 * 1024 * 1024; in TEST_F()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/09.classes/Constructor_Declaration/
Dconstructor_default_params_0005.ets26 constructor (x:number = 0, y:string = "Hello World", z: long = 1024) {
37 assertEQ( x.data2, 1024)
Dconstructor_default_params_0006_n.ets26 constructor (x:number, y:string = "Hello World", z: long = 1024) {
37 assertEQ( x.data2, 1024)
Dconstructor_default_params_0004.ets26 constructor (x:number, y:string = "Hello World", z: long = 1024) {
37 assertEQ( x.data2, 1024)

12345678910>>...12