Searched refs:BUF_SIZE (Results 1 – 2 of 2) sorted by relevance
30 private static final byte BUF_SIZE = 30; field in FixedByteArrayOutputStreamTest43 mOutStream = new FixedByteArrayOutputStream(BUF_SIZE); in setUp()63 String text = TEXT.substring(0, BUF_SIZE - 5); in testLessThanBuffer()71 String text = TEXT.substring(0, BUF_SIZE); in testEqualsBuffer()79 String text = TEXT.substring(0, BUF_SIZE + 1); in testBufferPlusOne()88 String expected = TEXT.substring(TEXT.length() - BUF_SIZE); in testBufferPlusPlus()102 String expected = full.substring(full.length() - BUF_SIZE); in testWriteWithWrap()112 String text = TEXT.substring(0, BUF_SIZE); in testLessThanBufferWithOffset()132 String expected = full.substring(full.length() - BUF_SIZE); in testWriteWithOffsetAndWrap()
50 private static final int BUF_SIZE = 16 * 1024; field in StreamUtil219 byte[] buf = new byte[BUF_SIZE]; in copyStreams()251 byte[] buf = new byte[BUF_SIZE]; in copyStreamToWriter()399 byte[] buf = new byte[BUF_SIZE]; in calculateCrc32()444 byte[] buf = new byte[BUF_SIZE]; in calculateMd5Digest()