Searched refs:initialSize (Results 1 – 6 of 6) sorted by relevance
54 public StringWriter(int initialSize) { in StringWriter() argument55 if (initialSize < 0) { in StringWriter()56 throw new IllegalArgumentException("initialSize < 0: " + initialSize); in StringWriter()58 buf = new StringBuffer(initialSize); in StringWriter()
62 public CharArrayWriter(int initialSize) { in CharArrayWriter() argument63 if (initialSize < 0) { in CharArrayWriter()66 buf = new char[initialSize]; in CharArrayWriter()
42 public Support_StringWriter(int initialSize) { in Support_StringWriter() argument43 if (initialSize >= 0) { in Support_StringWriter()44 buf = new StringBuffer(initialSize); in Support_StringWriter()
172 int initialSize = bs.size(); in test_clearII() local173 assertEquals(64, initialSize); in test_clearII()174 bs.set(0, initialSize); in test_clearII()189 for (int i = 11; i < initialSize; i++) { in test_clearII()197 for (int i = initialSize; i < bs.size(); i++) { in test_clearII()203 initialSize = bs.size(); in test_clearII()204 bs.set(0, initialSize); in test_clearII()218 initialSize = bs.size(); in test_clearII()219 bs.set(0, initialSize); in test_clearII()229 initialSize = bs.size(); in test_clearII()[all …]
196 int initialSize = target.size(); in test_drain() local201 written = (target.size() > initialSize); in test_drain()205 written || (target.size() > initialSize)); in test_drain()
115 public BerInputStream(InputStream in, int initialSize) throws IOException { in BerInputStream() argument117 buffer = new byte[initialSize]; in BerInputStream()