/art/test/950-redefine-intrinsic/src/ |
RedefinedLongIntrinsics.java | 22 public static long highestOneBit(long i) {
|
Main.java | 46 // public static long highestOneBit(long i) { 437 l2l("highestOneBit", Long::highestOneBit, RedefinedLongIntrinsics::highestOneBit),
|
/frameworks/av/media/libstagefright/webm/ |
EbmlUtil.cpp | 38 uint64_t highestOneBit(uint64_t n) { 49 uint64_t powerOf2 = highestOneBit(u);
|
/external/guava/guava/src/com/google/common/collect/ |
Hashing.java | 60 int tableSize = Integer.highestOneBit(expectedEntries);
|
ImmutableCollection.java | 225 newCapacity = Integer.highestOneBit(minCapacity - 1) << 1;
|
ImmutableSet.java | 251 int tableSize = Integer.highestOneBit(setSize - 1) << 1;
|
/art/test/568-checker-onebit/src/ |
Main.java | 23 return Integer.highestOneBit(x); 37 return Long.highestOneBit(x);
|
/external/guava/guava/src/com/google/common/base/ |
SmallCharMatcher.java | 83 int tableSize = Integer.highestOneBit(setSize - 1) << 1;
|
/frameworks/base/core/java/com/android/internal/widget/ |
LocalImageResolver.java | 73 int k = Integer.highestOneBit((int) Math.floor(ratio));
|
/frameworks/support/collection/src/main/java/androidx/collection/ |
CircularIntArray.java | 71 arrayCapacity = Integer.highestOneBit(minCapacity - 1) << 1;
|
CircularArray.java | 70 arrayCapacity = Integer.highestOneBit(minCapacity - 1) << 1;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
IntegerTest.java | [all...] |
LongTest.java | 840 * java.lang.Long#highestOneBit(long) 843 assertEquals(0x08, Long.highestOneBit(0x0A)); 844 assertEquals(0x08, Long.highestOneBit(0x0B)); 845 assertEquals(0x08, Long.highestOneBit(0x0C)); 846 assertEquals(0x08, Long.highestOneBit(0x0F)); 847 assertEquals(0x80, Long.highestOneBit(0xFF)); 849 assertEquals(0x080000, Long.highestOneBit(0x0F1234)); 850 assertEquals(0x800000, Long.highestOneBit(0xFF9977)); 852 assertEquals(0x8000000000000000L, Long.highestOneBit(0xFFFFFFFFFFFFFFFFL)); 854 assertEquals(0, Long.highestOneBit(0)) [all...] |
/external/guava/guava-tests/benchmark/com/google/common/base/ |
StringsRepeatBenchmark.java | 66 char[] strCopy = new char[len * Integer.highestOneBit(count)];
|
/packages/apps/WallpaperPicker/src/com/android/gallery3d/common/ |
Utils.java | 57 return Integer.highestOneBit(n);
|
/art/test/988-method-trace/src/art/ |
Test988Intrinsics.java | 62 java.lang.Integer.highestOneBit(0); 73 java.lang.Long.highestOneBit(0L);
|
/frameworks/base/telephony/java/android/telephony/ims/feature/ |
CapabilityChangeRequest.java | 157 long highestCapability = Long.highestOneBit(capabilities);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
OpenIntToDoubleHashMap.java | 157 final int powerOfTwo = Integer.highestOneBit(capacity); 170 return Integer.highestOneBit(i) << 1;
|
OpenIntToFieldHashMap.java | 169 final int powerOfTwo = Integer.highestOneBit(capacity); 182 return Integer.highestOneBit(i) << 1;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
Utils.java | 95 return Integer.highestOneBit(n);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Utils.java | 95 return Integer.highestOneBit(n);
|
/packages/apps/TV/src/com/android/tv/util/images/ |
BitmapUtils.java | 177 return Math.max(1, Integer.highestOneBit(ratio));
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
Downsampler.java | 184 final int powerOfTwoSampleSize = exactSampleSize == 0 ? 0 : Integer.highestOneBit(exactSampleSize - 1);
|
/libcore/ojluni/src/main/java/java/lang/ |
Integer.java | 42 * methods (such as {@link #highestOneBit(int) highestOneBit} and [all...] |
Long.java | 44 * methods (such as {@link #highestOneBit(long) highestOneBit} and [all...] |