Searched refs:longValue (Results 1 – 20 of 20) sorted by relevance
61 assertEquals("1.00 kB", Formatter.formatFileSize(context, bd.pow(1).longValue())); in testFormatFileSize()62 assertEquals("1.50 kB", Formatter.formatFileSize(context, bd.pow(1).longValue() * 3 / 2)); in testFormatFileSize()63 assertEquals("12.50 kB", Formatter.formatFileSize(context, bd.pow(1).longValue() * 25 / 2)); in testFormatFileSize()65 assertEquals("1.00 MB", Formatter.formatFileSize(context, bd.pow(2).longValue())); in testFormatFileSize()67 assertEquals("1.00 GB", Formatter.formatFileSize(context, bd.pow(3).longValue())); in testFormatFileSize()69 assertEquals("1.00 TB", Formatter.formatFileSize(context, bd.pow(4).longValue())); in testFormatFileSize()71 assertEquals("1.00 PB", Formatter.formatFileSize(context, bd.pow(5).longValue())); in testFormatFileSize()73 assertEquals("1000 PB", Formatter.formatFileSize(context, bd.pow(6).longValue())); in testFormatFileSize()101 assertEquals("1.0 kB", Formatter.formatShortFileSize(context, bd.pow(1).longValue())); in testFormatShortFileSize()103 bd.pow(1).longValue() * 3 / 2)); in testFormatShortFileSize()[all …]
78 assertEquals(1, deltaValues.get(0).longValue()); in testCalculateDelta()79 assertEquals(1, deltaValues.get(1).longValue()); in testCalculateDelta()80 assertEquals(1, deltaValues.get(2).longValue()); in testCalculateDelta()81 assertEquals(1, deltaValues.get(3).longValue()); in testCalculateDelta()87 assertEquals(0, deltaValues.get(0).longValue()); in testCalculateDelta()88 assertEquals(2, deltaValues.get(1).longValue()); in testCalculateDelta()89 assertEquals(2, deltaValues.get(2).longValue()); in testCalculateDelta()90 assertEquals(0, deltaValues.get(3).longValue()); in testCalculateDelta()96 assertEquals(1, deltaValues.get(0).longValue()); in testCalculateDelta()97 assertEquals(3, deltaValues.get(1).longValue()); in testCalculateDelta()[all …]
75 po.writeInt64(fieldId, val.longValue());89 po.writeUInt64(fieldId, val.longValue());103 po.writeSInt64(fieldId, val.longValue());117 po.writeFixed64(fieldId, val.longValue());131 po.writeSFixed64(fieldId, val.longValue());138 po.writeBool(fieldId, val.longValue() != 0);170 po.write(fieldId, val.longValue()); in SWITCHED.add()
189 assertEquals(2L, sparseArray.valueAt(0).longValue()); in testIterationOrder()190 assertEquals(40L, sparseArray.valueAt(1).longValue()); in testIterationOrder()191 assertEquals(20L, sparseArray.valueAt(2).longValue()); in testIterationOrder()192 assertEquals(Long.MIN_VALUE, sparseArray.valueAt(3).longValue()); in testIterationOrder()
186 assertEquals(2L, sparseArray.valueAt(0).longValue()); in testIterationOrder()187 assertEquals(40L, sparseArray.valueAt(1).longValue()); in testIterationOrder()188 assertEquals(20L, sparseArray.valueAt(2).longValue()); in testIterationOrder()189 assertEquals(Long.MIN_VALUE, sparseArray.valueAt(3).longValue()); in testIterationOrder()
471 assertEquals(12, Half.valueOf(12.57f).longValue()); in numberInterface()478 assertEquals(-12, Half.valueOf(-12.57f).longValue()); in numberInterface()485 assertEquals(0, Half.valueOf(POSITIVE_ZERO).longValue()); in numberInterface()492 assertEquals(0, Half.valueOf(NEGATIVE_ZERO).longValue()); in numberInterface()499 assertEquals(Long.MAX_VALUE, Half.valueOf(POSITIVE_INFINITY).longValue()); in numberInterface()506 assertEquals(Long.MIN_VALUE, Half.valueOf(NEGATIVE_INFINITY).longValue()); in numberInterface()513 assertEquals(0, Half.valueOf(NaN).longValue()); in numberInterface()
424 expected, object.longValue()); in verifyValueEquals()
50 assertEquals(RESULT, mMyAsyncTask.get(DURATION, TimeUnit.MILLISECONDS).longValue()); in doTestAsyncTask()52 assertEquals(RESULT, mMyAsyncTask.get().longValue()); in doTestAsyncTask()72 assertEquals(RESULT, mMyAsyncTask.postResult.longValue()); in doTestAsyncTask()
139 Assert.assertEquals(800L, measurements.get("Z").longValue()); in checkHealthStats()145 Assert.assertEquals(900L, measurements.get("Y").longValue()); in checkHealthStats()146 Assert.assertEquals(901L, measurements.get("X").longValue()); in checkHealthStats()
347 long longValue = Long.parseLong(value.toString()); in parseUnsignedLong() local348 if (longValue < 0) { in parseUnsignedLong()351 return longValue; in parseUnsignedLong()
160 return bigInt.longValue(); in bigIntegerToLong()
794 assertEquals(65537, keyDetailsList.getRsaPublicExponent().longValue()); in checkRsaKeyDetails()
543 return num.longValue(); in getLong()
921 constant = CstLong.make(v2.longValue()); in addOpcode()1305 constant = CstLong.make(num.longValue()); in endFillArrayData()
879 if (timeStamp != null && timeStamp.longValue() > 0L) { in matchesObject()
1163 if (timeStamp != null && timeStamp.longValue() > 0L) { in matchesObject()
671 return completedSequence.second.longValue(); in getCaptureSequenceLastFrameNumber()
288 assertEquals(expectedValues.getAsLong(columnName).longValue(), in verifyLongColumn()
META-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
5475 public abstract long longValue()5495 public long longValue()14526 public long longValue()15882 public long longValue()16080 public long longValue()16433 public long longValue()16684 public long longValue()17851 public long longValue()21597 public long longValue()22101 public long longValue()[all …]