Home
last modified time | relevance | path

Searched refs:HAS_UNSAFE_ARRAY_OPERATIONS (Results 1 – 2 of 2) sorted by relevance

/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DUnsafeUtil.java52 private static final boolean HAS_UNSAFE_ARRAY_OPERATIONS = supportsUnsafeArrayOperations(); field in UnsafeUtil
88 return HAS_UNSAFE_ARRAY_OPERATIONS; in hasUnsafeArrayOperations()
113 return HAS_UNSAFE_ARRAY_OPERATIONS ? MEMORY_ACCESSOR.arrayBaseOffset(clazz) : -1; in arrayBaseOffset()
117 return HAS_UNSAFE_ARRAY_OPERATIONS ? MEMORY_ACCESSOR.arrayIndexScale(clazz) : -1; in arrayIndexScale()
474 if (HAS_UNSAFE_ARRAY_OPERATIONS) { in mismatch()
DCodedOutputStream.java61 private static final boolean HAS_UNSAFE_ARRAY_OPERATIONS = UnsafeUtil.hasUnsafeArrayOperations(); field in CodedOutputStream
1337 if (HAS_UNSAFE_ARRAY_OPERATIONS in writeUInt32NoTag()
1398 if (HAS_UNSAFE_ARRAY_OPERATIONS && spaceLeft() >= MAX_VARINT_SIZE) { in writeUInt64NoTag()
2299 if (HAS_UNSAFE_ARRAY_OPERATIONS) { in bufferUInt32NoTag()
2332 if (HAS_UNSAFE_ARRAY_OPERATIONS) { in bufferUInt64NoTag()