Searched refs:byteArrays (Results 1 – 4 of 4) sorted by relevance
25 private final List<byte[]> byteArrays; field in ResettableArrayCache38 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 …]
12 const byteArrays = []; variable13 expect(concatenateByteArrays(byteArrays)).toEqual(new Uint8Array(0));17 const byteArrays = [new Uint8Array([0x01]), new Uint8Array([0x02])]; variable18 expect(concatenateByteArrays(byteArrays)).toEqual(new Uint8Array([24 const byteArrays = [[0x01], [0x02]]; variable25 expect(concatenateByteArrays(byteArrays)).toEqual(new Uint8Array([35 const byteArrays = [[40.0], [256]]; variable36 expect(concatenateByteArrays(byteArrays)).toEqual(new Uint8Array([
198 private static byte[] joinData(byte[]... byteArrays) { in joinData() argument200 for (byte[] byteArray : byteArrays) { in joinData()205 for (byte[] byteArray : byteArrays) { in joinData()