Home
last modified time | relevance | path

Searched refs:byteArrays (Results 1 – 4 of 4) sorted by relevance

/external/xz-java/src/org/tukaani/xz/
DResettableArrayCache.java25 private final List<byte[]> byteArrays; field in ResettableArrayCache
38 byteArrays = null; in ResettableArrayCache()
41 byteArrays = new ArrayList<byte[]>(); in ResettableArrayCache()
49 if (byteArrays != null) { in getByteArray()
50 synchronized(byteArrays) { in getByteArray()
51 byteArrays.add(array); in getByteArray()
59 if (byteArrays != null) { in putArray()
62 synchronized(byteArrays) { in putArray()
63 int i = byteArrays.lastIndexOf(array); in putArray()
65 byteArrays.remove(i); in putArray()
[all …]
/external/cronet/third_party/protobuf/js/experimental/runtime/kernel/
Duint8arrays_test.js12 const byteArrays = []; variable
13 expect(concatenateByteArrays(byteArrays)).toEqual(new Uint8Array(0));
17 const byteArrays = [new Uint8Array([0x01]), new Uint8Array([0x02])]; variable
18 expect(concatenateByteArrays(byteArrays)).toEqual(new Uint8Array([
24 const byteArrays = [[0x01], [0x02]]; variable
25 expect(concatenateByteArrays(byteArrays)).toEqual(new Uint8Array([
35 const byteArrays = [[40.0], [256]]; variable
36 expect(concatenateByteArrays(byteArrays)).toEqual(new Uint8Array([
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/amr/
DAmrExtractorNonParameterizedTest.java198 private static byte[] joinData(byte[]... byteArrays) { in joinData() argument
200 for (byte[] byteArray : byteArrays) { in joinData()
205 for (byte[] byteArray : byteArrays) { in joinData()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/amr/
DAmrExtractorNonParameterizedTest.java198 private static byte[] joinData(byte[]... byteArrays) { in joinData() argument
200 for (byte[] byteArray : byteArrays) { in joinData()
205 for (byte[] byteArray : byteArrays) { in joinData()