Searched refs:byteArrays (Results 1 – 2 of 2) 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 …]
90 private byte[][] byteArrays; field in Utf8Benchmark102 byteArrays = new byte[stringCount][]; in setUp()115 byteArrays[i] = strings[i].getBytes(Charsets.UTF_8); in setUp()127 for (byte[] byteArray : byteArrays) { in isWellFormed()