OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:LongMath
(Results
1 - 25
of
70
) sorted by null
1
2
3
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/
LongMathTest.java
37
* Tests for
LongMath
.
50
int actual =
LongMath
.lessThanBranchFree(x, y);
62
LongMath
.log2(0L, mode);
72
LongMath
.log2(x, mode);
84
assertEquals(BigIntegerMath.log2(valueOf(x), mode),
LongMath
.log2(x, mode));
93
boolean isPowerOf2 =
LongMath
.isPowerOfTwo(x);
95
assertEquals(x, 1L <<
LongMath
.log2(x, UNNECESSARY));
114
assertEquals(valueOf(a).gcd(valueOf(b)), valueOf(
LongMath
.gcd(a, b)));
127
assertEquals(expectedLong,
LongMath
.binomial(n, k));
135
LongMath
.binomial(n, -1)
[
all
...]
/external/guava/guava-tests/test/com/google/common/math/
LongMathTest.java
44
* Tests for
LongMath
.
53
LongMath
.MAX_POWER_OF_SQRT2_UNSIGNED);
61
LongMath
.maxLog10ForLeadingZeros[i]);
67
for (int i = 0; i <
LongMath
.powersOf10.length; i++) {
68
assertEquals(
LongMath
.checkedPow(10, i),
LongMath
.powersOf10[i]);
71
LongMath
.checkedPow(10,
LongMath
.powersOf10.length);
78
for (int i = 0; i <
LongMath
.halfPowersOf10.length; i++) {
80
BigInteger.valueOf(
LongMath
.halfPowersOf10[i]))
[
all
...]
/external/guava/guava-tests/benchmark/com/google/common/math/
ApacheBenchmark.java
30
import com.google.common.math.
LongMath
;
54
return
LongMath
.gcd(a, b);
59
return
LongMath
.binomial(n, k);
75
LongMath
.checkedAdd(a, b);
95
LongMath
.checkedMultiply(a, b);
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
LongMath.java
47
public final class
LongMath
{
229
int nBits =
LongMath
.log2(n, RoundingMode.CEILING);
315
private
LongMath
() {}
/external/guava/guava/src/com/google/common/math/
LongMath.java
52
public final class
LongMath
{
674
int nBits =
LongMath
.log2(n, RoundingMode.CEILING);
760
private
LongMath
() {}
/external/dagger2/lib/
auto-value-1.4.1.jar
/prebuilts/tools/common/m2/repository/com/google/auto/value/auto-value/1.3/
auto-value-1.3.jar
/prebuilts/tools/common/m2/repository/com/google/auto/value/auto-value/1.3-rc1/
auto-value-1.3-rc1.jar
/cts/tests/libcore/javautilcollections/libs/
guava-20.0.jar
/external/r8/deps/
guava-19.0.jar
/prebuilts/devtools/tools/lib/
guava-22.0.jar
/prebuilts/gradle-plugin/com/android/databinding/compiler/3.0.0-alpha6/
compiler-3.0.0-alpha6.jar
/prebuilts/gradle-plugin/com/android/databinding/compiler/3.0.0-alpha7/
compiler-3.0.0-alpha7.jar
/prebuilts/gradle-plugin/com/android/databinding/compiler/3.0.0-alpha9/
compiler-3.0.0-alpha9.jar
/prebuilts/gradle-plugin/com/android/databinding/compiler/3.0.0-beta1/
compiler-3.0.0-beta1.jar
/prebuilts/gradle-plugin/com/android/databinding/compiler/3.0.0-beta2/
compiler-3.0.0-beta2.jar
/prebuilts/gradle-plugin/com/android/databinding/compiler/3.0.0-beta6/
compiler-3.0.0-beta6.jar
/prebuilts/gradle-plugin/com/android/databinding/compiler/3.0.0-beta7/
compiler-3.0.0-beta7.jar
/prebuilts/misc/common/guava/
guava-20.0.jar
/prebuilts/misc/common/robolectric/lib/
guava-19.0.jar
/prebuilts/sdk/tools/lib/
d8.jar
/prebuilts/tools/common/google-java-format/
google-java-format-1.0-all-deps.jar
google-java-format-all-deps.jar
/prebuilts/tools/common/m2/repository/com/google/guava/guava/19.0/
guava-19.0.jar
/prebuilts/tools/common/m2/repository/com/google/guava/guava/19.0-rc2/
guava-19.0-rc2.jar
Completed in 616 milliseconds
1
2
3