| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | mem_map_allocator_test.cpp | 28 constexpr size_t HUGE_OBJECT_CAPACITY = 1024_MB; 41 size_t size1 = 256 * 1024 * 1024; in HWTEST_F_L0() 46 size_t size2 = 512 * 1024 * 1024; in HWTEST_F_L0() 51 size_t size3 = 512 * 1024 * 1024; in HWTEST_F_L0()
|
| D | gc_second_test.cpp | 83 …nused]] JSHandle<TaggedArray> obj = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(1024 * 1024); in HWTEST_F_L0() 107 10 * 1024, JSTaggedValue::Hole(), MemSpaceType::SEMI_SPACE); in HWTEST_F_L0() 127 10 * 1024, JSTaggedValue::Hole(), MemSpaceType::SEMI_SPACE); in HWTEST_F_L0() 146 1024, JSTaggedValue::Hole(), MemSpaceType::SEMI_SPACE); in HWTEST_F_L0() 154 1024, JSTaggedValue::Hole(), MemSpaceType::SEMI_SPACE); in HWTEST_F_L0() 232 factory->NewTaggedArray(1024, JSTaggedValue::Hole(), MemSpaceType::OLD_SPACE); in HWTEST_F_L0() 233 factory->NewSOldSpaceTaggedArray(1024, JSTaggedValue::Hole()); in HWTEST_F_L0() 240 …[[maybe_unused]] JSHandle<TaggedArray> array = factory->NewTaggedArray(1024, JSTaggedValue::Hole(), in HWTEST_F_L0() 242 [[maybe_unused]] JSHandle<TaggedArray> sArray = factory->NewSOldSpaceTaggedArray(1024, in HWTEST_F_L0() 269 10 * 1024, JSTaggedValue::Hole(), MemSpaceType::SEMI_SPACE); in HWTEST_F_L0() [all …]
|
| /arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/gclog/ |
| D | utils.py | 32 "KB": 1024, 33 "MB": 1024 * 1024, 34 "GB": 1024 * 1024 * 1024
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/rawheap_translate/ |
| D | utils.h | 36 #define MAX_FILE_SIZE (4 * 1024 * 1024 * 1024ULL) // 4 * 1024 * 1024 * 1024 : file size bigger than…
|
| /arkcompiler/runtime_core/static_core/tests/vm-benchmarks/tests/ |
| D | test_gc_ark_pause.py | 42 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/ |
| D | setcpusamplinginterval_fuzzer.cpp | 43 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/ |
| D | notifyidletime_fuzzer.cpp | 43 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/ |
| D | setnativepointerfieldcount_fuzzer.cpp | 42 if (key <= 0 || key > 1024) { // 1024 : 1M in size in SetNativePointerFieldCountFuzzTest() 43 key = 1024; // 1024 : 1M in size in SetNativePointerFieldCountFuzzTest()
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
| D | heap_profiler.h | 85 #define PER_GROUP_MEM_SIZE (128 * 1024 * 1024) // 128 MB 88 #define MAX_FILE_SIZE (4 * 1024 * 1024 * 1024ULL) // 4 * 1024 * 1024 * 1024 : file size bigger than…
|
| /arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/ |
| D | XTexture.js | 34 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/libpandabase/utils/ |
| D | type_converter.h | 85 constexpr std::array<double, 4> COEFFS_MEMORY = {1024, 1024, 1024, 1024};
|
| /arkcompiler/ets_frontend/arkguard/test/ut/utils/ |
| D | MemoryUtils.spec.ts | 24 const highBaseLine = 1000 * 1024 * 1024; // 1000MB 25 const highBase = 1000 * 1024 * 1024; // 1000MB
|
| /arkcompiler/runtime_core/static_core/libpandabase/utils/ |
| D | type_converter.h | 85 constexpr std::array<double, 4> COEFFS_MEMORY = {1024, 1024, 1024, 1024};
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
| D | metadata_layout.h | 164 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/moduletest/objectkeys/ |
| D | expect_output.txt | 23 1024 24 1024
|
| D | objectkeys.js | 72 let o1 = {1024: true}; property 73 let o2 = {1024: 1024}; property
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/gc/ |
| D | get_object_address_test.sts | 21 let h_obj : Long[] = new Long[1024 * 1024];
|
| D | run_gc_every_safepoint.sts | 32 let h_obj = new long[1024 * 1024];
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/09.classes/Constructor_Declaration/ |
| D | constructor_default_params_0003.sts | 26 constructor (x:number = 0, y:string = "Hello World", z: long = 1024) { 37 assert x.data2 == 1024
|
| D | constructor_default_params_0004.sts | 26 constructor (x:number, y:string = "Hello World", z: long = 1024) { 37 assert x.data2 == 1024
|
| D | constructor_default_params_0006_n.sts | 26 constructor (x:number, y:string = "Hello World", z: long = 1024) { 37 assert x.data2 == 1024
|
| D | constructor_default_params_0005.sts | 26 constructor (x:number = 0, y:string = "Hello World", z: long = 1024) { 37 assert x.data2 == 1024
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/spec/expressions/equality/ |
| D | list.equality_primitive_01.yaml | 121 type1: "short", value1: "1024", 126 type1: "short", value1: "1024", 127 type2: "short", value2: "1024",
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/ |
| D | RegisterNativeAllocationTest.sts | 24 new ArrayBuffer(1024); 32 for (let i = 0; i < 1024; i++) {
|
| /arkcompiler/ets_runtime/test/fuzztest/objectgetinformation_fuzzer/ |
| D | objectgetinformation_fuzzer.cpp | 76 if (key <= 0 || key > 1024) { // 1024 : 1M in size in ObjectGetNativePointerFieldCountFuzzTest() 77 key = 1024; // 1024 : 1M in size in ObjectGetNativePointerFieldCountFuzzTest()
|