Home
last modified time | relevance | path

Searched refs:byteArrays (Results 1 – 2 of 2) 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/guava/guava-tests/benchmark/com/google/common/base/
DUtf8Benchmark.java90 private byte[][] byteArrays; field in Utf8Benchmark
102 byteArrays = new byte[stringCount][]; in setUp()
115 byteArrays[i] = strings[i].getBytes(Charsets.UTF_8); in setUp()
127 for (byte[] byteArray : byteArrays) { in isWellFormed()