Home
last modified time | relevance | path

Searched refs:bigIntegerValue (Results 1 – 25 of 30) sorted by relevance

12

/external/guava/android/guava-tests/test/com/google/common/primitives/
DUnsignedLongTest.java76 UnsignedLong.fromLongBits(value).bigIntegerValue()); in testAsUnsignedBigIntegerValue()
94 BigInteger max = UnsignedLong.MAX_VALUE.bigIntegerValue(); in testValueOfBigInteger()
98 assertEquals(big, UnsignedLong.valueOf(big).bigIntegerValue()); in testValueOfBigInteger()
109 assertEquals(unsignedValue.bigIntegerValue().toString(), unsignedValue.toString()); in testToString()
118 assertEquals(value.bigIntegerValue().toString(radix), value.toString(radix)); in testToStringRadix()
128 assertEquals(value.bigIntegerValue().toString(radix), value.toString(radix)); in testToStringRadixQuick()
136 assertEquals(unsignedValue.bigIntegerValue().floatValue(), unsignedValue.floatValue()); in testFloatValue()
143 assertEquals(unsignedValue.bigIntegerValue().doubleValue(), unsignedValue.doubleValue()); in testDoubleValue()
152 long expected = aUnsigned.bigIntegerValue().add(bUnsigned.bigIntegerValue()).longValue(); in testPlus()
165 aUnsigned.bigIntegerValue().subtract(bUnsigned.bigIntegerValue()).longValue(); in testMinus()
[all …]
DUnsignedIntegerTest.java105 assertEquals(unsignedValue.bigIntegerValue().toString(), unsignedValue.toString()); in testToString()
114 assertEquals(value.bigIntegerValue().toString(radix), value.toString(radix)); in testToStringRadix()
124 assertEquals(value.bigIntegerValue().toString(radix), value.toString(radix)); in testToStringRadixQuick()
132 assertEquals(unsignedValue.bigIntegerValue().floatValue(), unsignedValue.floatValue()); in testFloatValue()
139 assertEquals(unsignedValue.bigIntegerValue().doubleValue(), unsignedValue.doubleValue()); in testDoubleValue()
148 int expected = aUnsigned.bigIntegerValue().add(bUnsigned.bigIntegerValue()).intValue(); in testPlus()
161 force32(aUnsigned.bigIntegerValue().subtract(bUnsigned.bigIntegerValue()).intValue()); in testMinus()
175 force32(aUnsigned.bigIntegerValue().multiply(bUnsigned.bigIntegerValue()).intValue()); in testTimes()
188 int expected = aUnsigned.bigIntegerValue().divide(bUnsigned.bigIntegerValue()).intValue(); in testDividedBy()
212 int expected = aUnsigned.bigIntegerValue().mod(bUnsigned.bigIntegerValue()).intValue(); in testMod()
[all …]
/external/guava/guava-tests/test/com/google/common/primitives/
DUnsignedLongTest.java76 UnsignedLong.fromLongBits(value).bigIntegerValue()); in testAsUnsignedBigIntegerValue()
94 BigInteger max = UnsignedLong.MAX_VALUE.bigIntegerValue(); in testValueOfBigInteger()
98 assertEquals(big, UnsignedLong.valueOf(big).bigIntegerValue()); in testValueOfBigInteger()
109 assertEquals(unsignedValue.bigIntegerValue().toString(), unsignedValue.toString()); in testToString()
118 assertEquals(value.bigIntegerValue().toString(radix), value.toString(radix)); in testToStringRadix()
128 assertEquals(value.bigIntegerValue().toString(radix), value.toString(radix)); in testToStringRadixQuick()
136 assertEquals(unsignedValue.bigIntegerValue().floatValue(), unsignedValue.floatValue()); in testFloatValue()
143 assertEquals(unsignedValue.bigIntegerValue().doubleValue(), unsignedValue.doubleValue()); in testDoubleValue()
152 long expected = aUnsigned.bigIntegerValue().add(bUnsigned.bigIntegerValue()).longValue(); in testPlus()
165 aUnsigned.bigIntegerValue().subtract(bUnsigned.bigIntegerValue()).longValue(); in testMinus()
[all …]
DUnsignedIntegerTest.java105 assertEquals(unsignedValue.bigIntegerValue().toString(), unsignedValue.toString()); in testToString()
114 assertEquals(value.bigIntegerValue().toString(radix), value.toString(radix)); in testToStringRadix()
124 assertEquals(value.bigIntegerValue().toString(radix), value.toString(radix)); in testToStringRadixQuick()
132 assertEquals(unsignedValue.bigIntegerValue().floatValue(), unsignedValue.floatValue()); in testFloatValue()
139 assertEquals(unsignedValue.bigIntegerValue().doubleValue(), unsignedValue.doubleValue()); in testDoubleValue()
148 int expected = aUnsigned.bigIntegerValue().add(bUnsigned.bigIntegerValue()).intValue(); in testPlus()
161 force32(aUnsigned.bigIntegerValue().subtract(bUnsigned.bigIntegerValue()).intValue()); in testMinus()
175 force32(aUnsigned.bigIntegerValue().multiply(bUnsigned.bigIntegerValue()).intValue()); in testTimes()
188 int expected = aUnsigned.bigIntegerValue().divide(bUnsigned.bigIntegerValue()).intValue(); in testDividedBy()
212 int expected = aUnsigned.bigIntegerValue().mod(bUnsigned.bigIntegerValue()).intValue(); in testMod()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DNumberNodesTest.java29 assertEquals(BigInteger.ONE, n.bigIntegerValue()); in testShort()
78 assertEquals(BigInteger.ONE, n.bigIntegerValue()); in testInt()
105 assertEquals(BigInteger.ONE, n.bigIntegerValue()); in testLong()
158 assertEquals(BigInteger.ZERO, n.bigIntegerValue()); in testDouble()
225 assertEquals(BigInteger.ZERO, n.bigIntegerValue()); in testFloat()
335 assertEquals(BigInteger.ONE, n.bigIntegerValue()); in testBigIntegerNode()
351 assertEquals(beyondLong, n2.bigIntegerValue()); in testBigIntegerNode()
DTestNullNode.java45 assertEquals(BigInteger.ZERO, n.bigIntegerValue()); in testBasicsWithNullNode()
DObjectNodeTest.java200 assertEquals(I, n.get("b").bigIntegerValue()); in testBigNumbers()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DNumericNode.java34 @Override public abstract BigInteger bigIntegerValue(); in bigIntegerValue() method in NumericNode
DShortNode.java76 public BigInteger bigIntegerValue() { return BigInteger.valueOf(_value); } in bigIntegerValue() method in ShortNode
DLongNode.java78 public BigInteger bigIntegerValue() { return BigInteger.valueOf(_value); } in bigIntegerValue() method in LongNode
DDoubleNode.java86 public BigInteger bigIntegerValue() { in bigIntegerValue() method in DoubleNode
DIntNode.java102 public BigInteger bigIntegerValue() { return BigInteger.valueOf(_value); } in bigIntegerValue() method in IntNode
DFloatNode.java87 public BigInteger bigIntegerValue() { in bigIntegerValue() method in FloatNode
DDecimalNode.java81 public BigInteger bigIntegerValue() { return _value.toBigInteger(); } in bigIntegerValue() method in DecimalNode
DBigIntegerNode.java74 public BigInteger bigIntegerValue() { return _value; } in bigIntegerValue() method in BigIntegerNode
DTreeTraversingParser.java258 return currentNumericNode().bigIntegerValue(); in getBigIntegerValue()
/external/guava/android/guava/src/com/google/common/primitives/
DUnsignedInteger.java208 public BigInteger bigIntegerValue() { in bigIntegerValue() method in UnsignedInteger
DUnsignedLong.java221 public BigInteger bigIntegerValue() { in bigIntegerValue() method in UnsignedLong
/external/guava/guava/src/com/google/common/primitives/
DUnsignedInteger.java208 public BigInteger bigIntegerValue() { in bigIntegerValue() method in UnsignedInteger
DUnsignedLong.java221 public BigInteger bigIntegerValue() { in bigIntegerValue() method in UnsignedLong
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DJsonNode.java538 public BigInteger bigIntegerValue() { return BigInteger.ZERO; } in bigIntegerValue() method in JsonNode
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/lib/
Dguava-21.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...

12