Home
last modified time | relevance | path

Searched refs:getMaximum (Results 1 – 25 of 65) sorted by relevance

123

/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/check/
DLimitTest.java40 assertNull(limit.getMaximum()); in default_should_define_no_limits()
282 assertNull(limit.getMaximum()); in setMaximum_should_allow_null()
289 assertEquals("12345678", limit.getMaximum()); in check_should_pass_when_maximum_counter_is_fulfilled()
300 assertEquals("0.999", limit.getMaximum()); in check_should_pass_when_maximum_ratio_is_fulfilled()
311 assertEquals("0.999", limit.getMaximum()); in check_should_fail_when_maximum_is_not_met()
324 assertEquals("0.999", limit.getMaximum()); in check_should_report_actual_ratio_rounded_up_when_maximum_is_not_met()
338 assertEquals("-3", limit.getMaximum()); in check_should_fail_when_maximum_ratio_is_smaller_than_0()
347 assertEquals("80", limit.getMaximum()); in check_should_fail_when_maximum_ratio_is_bigger_than_1()
356 assertEquals("0.0155", limit.getMaximum()); in setMaximum_should_accept_percentage_string()
359 assertEquals("0.015", limit.getMaximum()); in setMaximum_should_accept_percentage_string()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCalendarTestFmwk.java271 int maxHigh = cal.getMaximum(f); in doLimitsTest()
319 cal.getGreatestMinimum(f) : cal.getMaximum(f); in doLimitsTest()
360 int nDOW = cal.getMaximum(Calendar.DAY_OF_WEEK); in doTheoreticalLimitsTest()
361 int maxDOY = cal.getMaximum(Calendar.DAY_OF_YEAR); in doTheoreticalLimitsTest()
363 int maxWOY = cal.getMaximum(Calendar.WEEK_OF_YEAR); in doTheoreticalLimitsTest()
365 int maxM = cal.getMaximum(Calendar.MONTH) + 1; in doTheoreticalLimitsTest()
367 int maxDOM = cal.getMaximum(Calendar.DAY_OF_MONTH); in doTheoreticalLimitsTest()
369 int maxDOWIM = cal.getMaximum(Calendar.DAY_OF_WEEK_IN_MONTH); in doTheoreticalLimitsTest()
371 int maxWOM = cal.getMaximum(Calendar.WEEK_OF_MONTH); in doTheoreticalLimitsTest()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarTestFmwk.java268 int maxHigh = cal.getMaximum(f); in doLimitsTest()
316 cal.getGreatestMinimum(f) : cal.getMaximum(f); in doLimitsTest()
357 int nDOW = cal.getMaximum(Calendar.DAY_OF_WEEK); in doTheoreticalLimitsTest()
358 int maxDOY = cal.getMaximum(Calendar.DAY_OF_YEAR); in doTheoreticalLimitsTest()
360 int maxWOY = cal.getMaximum(Calendar.WEEK_OF_YEAR); in doTheoreticalLimitsTest()
362 int maxM = cal.getMaximum(Calendar.MONTH) + 1; in doTheoreticalLimitsTest()
364 int maxDOM = cal.getMaximum(Calendar.DAY_OF_MONTH); in doTheoreticalLimitsTest()
366 int maxDOWIM = cal.getMaximum(Calendar.DAY_OF_WEEK_IN_MONTH); in doTheoreticalLimitsTest()
368 int maxWOM = cal.getMaximum(Calendar.WEEK_OF_MONTH); in doTheoreticalLimitsTest()
/external/icu/icu4c/source/test/intltest/
Dcallimts.cpp234 int32_t nDOW = cal.getMaximum(UCAL_DAY_OF_WEEK); in doTheoreticalLimitsTest()
235 int32_t maxDOY = cal.getMaximum(UCAL_DAY_OF_YEAR); in doTheoreticalLimitsTest()
237 int32_t maxWOY = cal.getMaximum(UCAL_WEEK_OF_YEAR); in doTheoreticalLimitsTest()
239 int32_t maxM = cal.getMaximum(UCAL_MONTH) + 1; in doTheoreticalLimitsTest()
241 int32_t maxDOM = cal.getMaximum(UCAL_DAY_OF_MONTH); in doTheoreticalLimitsTest()
243 int32_t maxDOWIM = cal.getMaximum(UCAL_DAY_OF_WEEK_IN_MONTH); in doTheoreticalLimitsTest()
245 int32_t maxWOM = cal.getMaximum(UCAL_WEEK_OF_MONTH); in doTheoreticalLimitsTest()
392 int32_t maxHigh = cal.getMaximum(f); in doLimitsTest()
493 rangeHigh = cal.getMaximum(f); in doLimitsTest()
Dcalregts.cpp599 int32_t max = cal->getMaximum(UCAL_DAY_OF_WEEK); in dowTest()
1400 if (cal->getMaximum(UCAL_HOUR) != 11 || in test4118384()
1407 cal->getMaximum(Calendar::HOUR) != 11) { in test4118384()
1425 cal->getMaximum(Calendar::HOUR) != 11) { in test4118384()
1443 cal->getMaximum(Calendar::HOUR) != 11) { in test4118384()
1670 int32_t maxYear = calendar->getMaximum(UCAL_YEAR); in test4145983()
1703 int32_t max = calendar->getMaximum((UCalendarDateFields)field); in test4147269()
3044 int32_t maxMonth = cal->getMaximum(UCAL_MONTH); in TestPersianCalOverflow()
3045 int32_t maxDayOfMonth = cal->getMaximum(UCAL_DATE); in TestPersianCalOverflow()
3074 int32_t maxMonth = cal->getMaximum(UCAL_MONTH); in TestIslamicCalOverflow()
[all …]
/external/cronet/third_party/icu/source/test/intltest/
Dcallimts.cpp234 int32_t nDOW = cal.getMaximum(UCAL_DAY_OF_WEEK); in doTheoreticalLimitsTest()
235 int32_t maxDOY = cal.getMaximum(UCAL_DAY_OF_YEAR); in doTheoreticalLimitsTest()
237 int32_t maxWOY = cal.getMaximum(UCAL_WEEK_OF_YEAR); in doTheoreticalLimitsTest()
239 int32_t maxM = cal.getMaximum(UCAL_MONTH) + 1; in doTheoreticalLimitsTest()
241 int32_t maxDOM = cal.getMaximum(UCAL_DAY_OF_MONTH); in doTheoreticalLimitsTest()
243 int32_t maxDOWIM = cal.getMaximum(UCAL_DAY_OF_WEEK_IN_MONTH); in doTheoreticalLimitsTest()
245 int32_t maxWOM = cal.getMaximum(UCAL_WEEK_OF_MONTH); in doTheoreticalLimitsTest()
392 int32_t maxHigh = cal.getMaximum(f); in doLimitsTest()
493 rangeHigh = cal.getMaximum(f); in doLimitsTest()
Dcalregts.cpp598 int32_t max = cal->getMaximum(UCAL_DAY_OF_WEEK); in dowTest()
1399 if (cal->getMaximum(UCAL_HOUR) != 11 || in test4118384()
1406 cal->getMaximum(Calendar::HOUR) != 11) { in test4118384()
1424 cal->getMaximum(Calendar::HOUR) != 11) { in test4118384()
1442 cal->getMaximum(Calendar::HOUR) != 11) { in test4118384()
1669 int32_t maxYear = calendar->getMaximum(UCAL_YEAR); in test4145983()
1702 int32_t max = calendar->getMaximum((UCalendarDateFields)field); in test4147269()
3043 int32_t maxMonth = cal->getMaximum(UCAL_MONTH); in TestPersianCalOverflow()
3044 int32_t maxDayOfMonth = cal->getMaximum(UCAL_DATE); in TestPersianCalOverflow()
3073 int32_t maxMonth = cal->getMaximum(UCAL_MONTH); in TestIslamicCalOverflow()
[all …]
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DRangeTest.java241 assertEquals(intRange.getMaximum(), intRange.fit(Integer.MAX_VALUE)); in testFit()
242 assertEquals(intRange.getMaximum(), intRange.fit(intRange.getMaximum())); in testFit()
255 assertEquals(20, (int) intRange.getMaximum()); in testGetMaximum()
256 assertEquals(20L, (long) longRange.getMaximum()); in testGetMaximum()
257 assertEquals(20f, floatRange.getMaximum(), 0.00001f); in testGetMaximum()
258 assertEquals(20d, doubleRange.getMaximum(), 0.00001d); in testGetMaximum()
DDoubleRangeTest.java148 assertEquals(range1.getMaximum(), range1.fit(Double.MAX_VALUE)); in testFit()
149 assertEquals(range1.getMaximum(), range1.fit(range1.getMaximum())); in testFit()
162 assertEquals(20d, range1.getMaximum()); in testGetMaximum()
DLongRangeTest.java163 assertEquals(range1.getMaximum(), range1.fit((long) Integer.MAX_VALUE)); in testFit()
164 assertEquals(range1.getMaximum(), range1.fit(range1.getMaximum())); in testFit()
177 assertEquals(20, range1.getMaximum()); in testGetMaximum()
DIntegerRangeTest.java148 assertEquals(range1.getMaximum(), range1.fit(Integer.MAX_VALUE)); in testFit()
149 assertEquals(range1.getMaximum(), range1.fit(range1.getMaximum())); in testFit()
162 assertEquals(20, (int) range1.getMaximum()); in testGetMaximum()
/external/easymock/src/org/easymock/internal/
DResults.java53 currentPosition += interval.getMaximum(); in next()
79 max += interval.getMaximum(); in getMainInterval()
DRange.java55 public int getMaximum() { in getMaximum() method in Range
/external/cronet/third_party/icu/source/i18n/
Dcalendar.cpp1597 getMaximum(UCAL_MILLISECONDS_IN_DAY)); in computeFields()
1601 U_ASSERT(fFields[UCAL_MILLISECOND] <= getMaximum(UCAL_MILLISECOND)); in computeFields()
1606 U_ASSERT(fFields[UCAL_SECOND] <= getMaximum(UCAL_SECOND)); in computeFields()
1611 U_ASSERT(fFields[UCAL_MINUTE] <= getMaximum(UCAL_MINUTE)); in computeFields()
1616 U_ASSERT(fFields[UCAL_HOUR_OF_DAY] <= getMaximum(UCAL_HOUR_OF_DAY)); in computeFields()
1620 U_ASSERT(fFields[UCAL_AM_PM] <= getMaximum(UCAL_AM_PM)); in computeFields()
1624 U_ASSERT(fFields[UCAL_HOUR] <= getMaximum(UCAL_HOUR)); in computeFields()
1628 U_ASSERT(fFields[UCAL_ZONE_OFFSET] <= getMaximum(UCAL_ZONE_OFFSET)); in computeFields()
1632 U_ASSERT(fFields[UCAL_DST_OFFSET] <= getMaximum(UCAL_DST_OFFSET)); in computeFields()
1770 U_ASSERT(fFields[UCAL_WEEK_OF_MONTH] <= getMaximum(UCAL_WEEK_OF_MONTH)); in computeWeekFields()
[all …]
/external/oboe/apps/OboeTester/app/src/main/cpp/flowunits/
DLinearShape.h40 float getMaximum() const { in getMaximum() function
DExponentialShape.h49 float getMaximum() const { in getMaximum() function
/external/icu/icu4c/source/i18n/
Dcalendar.cpp1597 getMaximum(UCAL_MILLISECONDS_IN_DAY)); in computeFields()
1601 U_ASSERT(fFields[UCAL_MILLISECOND] <= getMaximum(UCAL_MILLISECOND)); in computeFields()
1606 U_ASSERT(fFields[UCAL_SECOND] <= getMaximum(UCAL_SECOND)); in computeFields()
1611 U_ASSERT(fFields[UCAL_MINUTE] <= getMaximum(UCAL_MINUTE)); in computeFields()
1616 U_ASSERT(fFields[UCAL_HOUR_OF_DAY] <= getMaximum(UCAL_HOUR_OF_DAY)); in computeFields()
1620 U_ASSERT(fFields[UCAL_AM_PM] <= getMaximum(UCAL_AM_PM)); in computeFields()
1624 U_ASSERT(fFields[UCAL_HOUR] <= getMaximum(UCAL_HOUR)); in computeFields()
1628 U_ASSERT(fFields[UCAL_ZONE_OFFSET] <= getMaximum(UCAL_ZONE_OFFSET)); in computeFields()
1632 U_ASSERT(fFields[UCAL_DST_OFFSET] <= getMaximum(UCAL_DST_OFFSET)); in computeFields()
1770 U_ASSERT(fFields[UCAL_WEEK_OF_MONTH] <= getMaximum(UCAL_WEEK_OF_MONTH)); in computeWeekFields()
[all …]
/external/oboe/src/flowgraph/
DClipToRange.h53 float getMaximum() const { in getMaximum() function
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DCalendarICU.java173 public int getMaximum(int field) { in getMaximum() method in CalendarICU
174 return fIcuCal.getMaximum(field); in getMaximum()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DSimpleDateRule.java182 c.set(Calendar.ERA, c.getMaximum(Calendar.ERA)); in computeInYear()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DGeneralSubtree.java174 public BigInteger getMaximum() in getMaximum() method in GeneralSubtree
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DSimpleDateRule.java180 c.set(Calendar.ERA, c.getMaximum(Calendar.ERA)); in computeInYear()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DGeneralSubtree.java176 public BigInteger getMaximum() in getMaximum() method in GeneralSubtree
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x509/
DGeneralSubtree.java176 public BigInteger getMaximum() in getMaximum() method in GeneralSubtree
/external/apache-commons-lang/src/site/resources/release-notes/
DRELEASE-NOTES-1.0.1.txt49 #14566: NumberRange.getMaximum was returning the minimum.

123