Home
last modified time | relevance | path

Searched refs:MAX_VALUE (Results 1 - 12 of 12) sorted by relevance

/arkcompiler/runtime_core/libpandabase/tests/
H A Darena_allocator_test.cpp59 static constexpr T MAX_VALUE() in MAX_VALUE() function in panda::ArenaAllocatorTest
90 *arr[i] = rand() % MAX_VALUE<T>(); in AllocateWithAlignment()
98 ASSERT_EQ(*arr[i], rand() % MAX_VALUE<T>()) << "value of i: " << i << ", align: " << align; in AllocateWithAlignment()
116 *arr[i] = random_value % MAX_VALUE<T>(); in AllocateWithDiffAlignment()
128 ASSERT_EQ(*arr[i], random_value % MAX_VALUE<T>()) << "value of i: " << i; in AllocateWithDiffAlignment()
378 constexpr uint32_t MAX_VAL = MAX_VALUE<uint32_t>(); in HWTEST_F()
514 arr[i] = aa.New<ComplexClass>(rand() % MAX_VALUE<size_t>()); in HWTEST_F()
521 size_t random_value = rand() % MAX_VALUE<size_t>(); in HWTEST_F()
529 arr[i]->setValue(rand() % MAX_VALUE<size_t>()); in HWTEST_F()
535 size_t random_value = rand() % MAX_VALUE<size_ in HWTEST_F()
[all...]
/arkcompiler/runtime_core/static_core/verification/util/
H A Dtagged_index.h132 static constexpr UInt MAX_VALUE = VALUE_MASK; member in ark::verifier::TaggedIndexHelper0
171 ASSERT(static_cast<UInt>(-val) <= MAX_VALUE >> static_cast<UInt>(1)); in SetInt()
173 ASSERT(static_cast<UInt>(val) <= MAX_VALUE >> static_cast<UInt>(1)); in SetInt()
176 ASSERT(static_cast<UInt>(val) <= MAX_VALUE); in SetInt()
253 ASSERT(static_cast<UInt>(INV) > MAX_VALUE);
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_number.h26 V(MAX_VALUE) /* Number.MAX_VALUE */ \
80 // 21.1.2.7 Number.MAX_VALUE
81 static constexpr double MAX_VALUE = std::numeric_limits<double>::max(); member in panda::ecmascript::builtins::BuiltinsNumber
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_bigint_test.cpp329 number = JSHandle<JSTaggedValue>(thread, JSTaggedValue(base::MAX_VALUE)); in HWTEST_F_L0()
335 number = JSHandle<JSTaggedValue>(thread, JSTaggedValue(-base::MAX_VALUE)); in HWTEST_F_L0()
381 ASSERT_EQ(number.GetNumber(), base::MAX_VALUE); in HWTEST_F_L0()
390 parma = JSHandle<JSTaggedValue>(thread, JSTaggedValue(base::MAX_VALUE)); in HWTEST_F_L0()
394 ASSERT_EQ(number.GetNumber(), base::MAX_VALUE); in HWTEST_F_L0()
396 parma = JSHandle<JSTaggedValue>(thread, JSTaggedValue(-base::MAX_VALUE)); in HWTEST_F_L0()
400 ASSERT_EQ(number.GetNumber(), -base::MAX_VALUE); in HWTEST_F_L0()
H A Dbuiltins_number_test.cpp80 // Number.isFinite(Number.MAX_VALUE)
86 ecmaRuntimeCallInfo->SetCallArg(0, JSTaggedValue(base::MAX_VALUE)); in HWTEST_F_L0()
H A Dbuiltins_math_test.cpp130 // Math.abs(Number.MAX_VALUE + 1)
133 const double testValue = base::MAX_VALUE + 1; in HWTEST_F_L0()
142 JSTaggedValue expect = BuiltinsBase::GetTaggedDouble(base::MAX_VALUE); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/base/
H A Dnumber_helper.h46 static constexpr double MAX_VALUE = std::numeric_limits<double>::max(); member
/arkcompiler/ets_runtime/ecmascript/js_api/
H A Djs_api_vector.cpp26 static const uint32_t MAX_VALUE = 0x7fffffff; member
27 static const uint32_t MAX_ARRAY_SIZE = MAX_VALUE - 8;
361 newCapacity = (minCapacity > MAX_ARRAY_SIZE) ? MAX_VALUE : MAX_ARRAY_SIZE; in GrowCapacity()
/arkcompiler/ets_runtime/test/moduletest/mapget/
H A Dmapget.js69 check(Number.MAX_VALUE);
/arkcompiler/runtime_core/static_core/verification/util/tests/
H A Dbit_vector_property_test.cpp57 constexpr size_t MAX_VALUE = 1024U; member
59 auto g_valueGen = gen::inRange<size_t>(0, MAX_VALUE);
109 Intervals g_statIntervals = {{0, 10U}, {11U, 50U}, {51U, 100U}, {101U, MAX_VALUE}};
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/
H A Dets_intrinsics_helpers.h45 inline constexpr double MAX_VALUE = std::numeric_limits<double>::max(); member
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
H A Dcocos_worker_test.js10664 REPEAT_FOREVER: Number.MAX_VALUE - 1,
[all...]

Completed in 47 milliseconds