Home
last modified time | relevance | path

Searched refs:arrayIndexScale (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DUnsafeUtil.java56 private static final long BOOLEAN_ARRAY_INDEX_SCALE = arrayIndexScale(boolean[].class);
59 private static final long INT_ARRAY_INDEX_SCALE = arrayIndexScale(int[].class);
62 private static final long LONG_ARRAY_INDEX_SCALE = arrayIndexScale(long[].class);
65 private static final long FLOAT_ARRAY_INDEX_SCALE = arrayIndexScale(float[].class);
68 private static final long DOUBLE_ARRAY_INDEX_SCALE = arrayIndexScale(double[].class);
71 private static final long OBJECT_ARRAY_INDEX_SCALE = arrayIndexScale(Object[].class);
110 private static int arrayIndexScale(Class<?> clazz) { in arrayIndexScale() method in UnsafeUtil
111 return HAS_UNSAFE_ARRAY_OPERATIONS ? MEMORY_ACCESSOR.arrayIndexScale(clazz) : -1; in arrayIndexScale()
544 public final int arrayIndexScale(Class<?> clazz) { in arrayIndexScale() method in UnsafeUtil.MemoryAccessor
545 return unsafe.arrayIndexScale(clazz); in arrayIndexScale()
/external/protobuf/java/core/src/stubs/sun/misc/
DUnsafe.java38 public int arrayIndexScale(Class arrayClass) { /* null implementation */ return 0; } in arrayIndexScale() method in Unsafe
/external/guava/android/guava/src/com/google/common/hash/
DLittleEndianByteArray.java199 if (theUnsafe.arrayIndexScale(byte[].class) != 1) {
/external/guava/guava/src/com/google/common/hash/
DLittleEndianByteArray.java199 if (theUnsafe.arrayIndexScale(byte[].class) != 1) {
/external/guava/guava/src/com/google/common/primitives/
DUnsignedBytes.java326 && theUnsafe.arrayIndexScale(byte[].class) == 1)) {
/external/guava/android/guava/src/com/google/common/primitives/
DUnsignedBytes.java326 && theUnsafe.arrayIndexScale(byte[].class) == 1)) {