diff options
author | Alex Light <allight@google.com> | 2019-09-11 14:45:31 -0700 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2019-09-12 17:29:44 +0000 |
commit | d6fa4f24eae85b97c13728b846c430a8464839ee (patch) | |
tree | 0e392007f44abbedba3aa8452c74fe5391dc9260 /test/ProfileTestMultiDex | |
parent | 4fb71cc45b056b862680e2fecff55f855bd57795 (diff) |
Add some helper functions/constructors to ArraySlice
The ArraySlice has some nice functions for dealing with arrays. Add
helper constructors to make an ArraySlice out of the commonly used
LengthPrefixedArray and their pointers. Also add some convenience
things such as getting the offset of an element and tightening the
Contains check to ensure that the input is properly aligned.
Test: ./test.py --host
Bug: 140891089
Change-Id: If8350c5716db943d86cae32ed7b17aa8f036c978
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions