Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 45) sorted by relevance

12

/art/test/133-static-invoke-super/src/
DMain.java12 public void testDirect(int max) { in testDirect() argument
13 for (int i = 0; i < max; ++i) { in testDirect()
14 getVarDirect(max); in testDirect()
17 public void testStatic(int max) { in testStatic() argument
18 for (int i = 0; i < max; ++i) { in testStatic()
19 getVar(max); in testStatic()
/art/test/082-inline-execute/src/
DMain.java343 Assert.assertEquals(Math.max(0, 0), 0);
344 Assert.assertEquals(Math.max(1, 0), 1);
345 Assert.assertEquals(Math.max(0, 1), 1);
346 Assert.assertEquals(Math.max(0, Integer.MAX_VALUE), Integer.MAX_VALUE);
347 Assert.assertEquals(Math.max(Integer.MIN_VALUE, 0), 0);
348 Assert.assertEquals(Math.max(Integer.MIN_VALUE, Integer.MAX_VALUE), Integer.MAX_VALUE);
361 Assert.assertEquals(Math.max(0L, 0L), 0L);
362 Assert.assertEquals(Math.max(1L, 0L), 1L);
363 Assert.assertEquals(Math.max(0L, 1L), 1L);
364 Assert.assertEquals(Math.max(0L, Long.MAX_VALUE), Long.MAX_VALUE);
[all …]
/art/runtime/entrypoints/
Dmath_entrypoints_test.cc28 EXPECT_EQ(std::numeric_limits<int64_t>::max(), art_d2l(1.85e19)); in TEST_F()
40 EXPECT_EQ(std::numeric_limits<int64_t>::max(), art_f2l(1.85e19)); in TEST_F()
52 EXPECT_EQ(std::numeric_limits<int32_t>::max(), art_d2i(4.3e9)); in TEST_F()
64 EXPECT_EQ(std::numeric_limits<int32_t>::max(), art_f2i(4.3e9)); in TEST_F()
/art/test/053-wait-some/src/
DMain.java66 long max = delay + epsilon; in doit() local
71 } else if (elapsed > max) { in doit()
73 + "elapsed=" + elapsed + " max=" + max); in doit()
/art/test/089-many-methods/
Dexpected.txt2 trouble writing output: Too many field references: 131000; max is 65536.
/art/runtime/base/unix_file/
Dmapped_file.cc118 int64_t read_size = std::max(static_cast<int64_t>(0), in Read()
155 int64_t write_size = std::max(static_cast<int64_t>(0), in Write()
/art/runtime/gc/accounting/
Dspace_bitmap.h101 void VisitRange(uintptr_t base, uintptr_t max, ObjectCallback* callback, void* arg) const;
144 uintptr_t max, SweepCallback* thunk, void* arg);
/art/runtime/
Dparsed_options.cc87 if (val <= std::numeric_limits<size_t>::max() / mul) { in ParseMemoryOption()
91 val = std::numeric_limits<size_t>::max() & ~(1024-1); in ParseMemoryOption()
899 double min, double max, double* parsed_value) { in ParseDouble() argument
911 sane_val = iss.eof() && (value >= min) && (value <= max); in ParseDouble()
915 sane_val = *end == '\0' && value >= min && value <= max; in ParseDouble()
Dparsed_options.h124 bool ParseDouble(const std::string& option, char after_char, double min, double max,
Datomic.h290 return std::numeric_limits<T>::max(); in PACKED()
Dutils.h63 if (std::numeric_limits<T>::max() < result) { in ParseUint()
77 if (result < std::numeric_limits<T>::min() || std::numeric_limits<T>::max() < result) { in ParseInt()
/art/runtime/base/
Dhistogram-inl.h101 max_value_added_ = std::max(val, max_value_added_); in BucketiseValue()
122 min_value_added_ = std::numeric_limits<Value>::max(); in Reset()
Dbit_vector.cc309 unsigned int max = storage_size_; in GetHighestBitSet() local
310 for (int idx = max - 1; idx >= 0; idx--) { in GetHighestBitSet()
Dallocator.h80 max_bytes_used_[tag].StoreRelaxed(std::max(max_bytes_used_[tag].LoadRelaxed(), new_bytes)); in RegisterAllocation()
/art/test/003-omnibus-opcodes/src/
DFloatMath.java309 Main.assertTrue(approxEqual(Math.max(ff, -5.0f), ff, 0.001f)); in jlmTests()
314 Main.assertTrue(approxEqual(Math.max(dd, -5.0), dd, 0.001)); in jlmTests()
DIntMath.java567 Main.assertTrue(Math.max(ii, -5) == ii); in jlmTests()
572 Main.assertTrue(Math.max(ll, -5L) == ll); in jlmTests()
/art/runtime/verifier/
Dreg_type_cache.cc449 int32_t jchar_max = static_cast<int32_t>(std::numeric_limits<jchar>::max()); in CharConstant()
462 ConstantType& result = FromCat1Const(std::numeric_limits<jint>::max(), false); in IntConstant()
468 ConstantType& result = FromCat1Const(std::numeric_limits<jbyte>::max(), false); in PosByteConstant()
474 ConstantType& result = FromCat1Const(std::numeric_limits<jshort>::max(), false); in PosShortConstant()
Dreg_type.cc483 val <= std::numeric_limits<jshort>::max()) { in Dump()
497 val <= std::numeric_limits<jshort>::max()) { in Dump()
510 val <= std::numeric_limits<jshort>::max()) { in Dump()
523 val <= std::numeric_limits<jshort>::max()) { in Dump()
Dreg_type.h596 ConstantValue() <= std::numeric_limits<jchar>::max(); in IsConstantChar()
601 ConstantValue() <= std::numeric_limits<jbyte>::max(); in IsConstantByte()
606 ConstantValue() <= std::numeric_limits<jshort>::max(); in IsConstantShort()
/art/runtime/gc/space/
Dspace.cc75 const size_t capacity = static_cast<size_t>(std::numeric_limits<uint32_t>::max()); in DiscontinuousSpace()
/art/compiler/utils/
Dscoped_arena_allocator.cc58 size_t allocation_size = std::max(Arena::kDefaultSize, rounded_bytes); in AllocateFromNextArena()
Dswap_space.cc135 size_t next_part = std::max(RoundUp(min_size, kPageSize), RoundUp(kMininumMapSize, kPageSize)); in NewFileChunk()
Darena_allocator.cc256 Arena* new_arena = pool_->AllocArena(std::max(Arena::kDefaultSize, allocation_size)); in ObtainNewArenaForAllocation()
/art/runtime/gc/
Dheap.cc148 large_object_threshold_(std::numeric_limits<size_t>::max()), // Starts out disabled. in Heap()
159 concurrent_start_bytes_(std::numeric_limits<size_t>::max()), in Heap()
413 SetIdealFootprint(std::numeric_limits<size_t>::max()); in Heap()
414 concurrent_start_bytes_ = std::numeric_limits<size_t>::max(); in Heap()
698 const size_t num_threads = std::max(parallel_gc_threads_, conc_gc_threads_); in CreateThreadPool()
1840 … std::max(max_allowed_footprint_, kMinConcurrentRemainingBytes) - kMinConcurrentRemainingBytes; in ChangeCollector()
1842 concurrent_start_bytes_ = std::numeric_limits<size_t>::max(); in ChangeCollector()
2219 concurrent_start_bytes_ = std::numeric_limits<size_t>::max(); in CollectGarbageInternal()
2944 target_size = std::max(target_size, in GrowForUtilization()
2970 target_size = std::max(bytes_allocated, static_cast<uint64_t>(max_allowed_footprint_)); in GrowForUtilization()
[all …]
/art/compiler/optimizing/
Dstack_map_stream.h85 stack_mask_max_ = std::max(stack_mask_max_, sp_mask->GetHighestBitSet()); in AddStackMapEntry()

12