Searched refs:pipeSize (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/test/java/io/PipedInputStream/
H A DConstructors.java36 static int pipeSize = totalToWrite; field in class:Constructors
40 for (int times = (totalToWrite / pipeSize); times > 0; times--) {
42 int read = in.read(new byte[pipeSize]);
44 if (read < pipeSize) {
45 throw new Exception("Pipe Size is not set to:" + pipeSize);
58 in = new PipedInputStream(pipeSize);
63 in = new PipedInputStream(out, pipeSize);
/openjdk7/jdk/test/java/io/PipedReader/
H A DConstructors.java36 static int pipeSize = totalToWrite; field in class:Constructors
40 for (int times = (totalToWrite / pipeSize); times > 0; times--) {
42 int read = in.read(new char[pipeSize]);
44 if (read < pipeSize) {
45 throw new Exception("Pipe Size is not set to:" + pipeSize);
58 in = new PipedReader(pipeSize);
63 in = new PipedReader(out, pipeSize);
/openjdk7/jdk/src/share/classes/java/io/
H A DPipedReader.java92 * @param pipeSize the size of the pipe's buffer.
94 * @exception IllegalArgumentException if <code>pipeSize <= 0</code>.
97 public PipedReader(PipedWriter src, int pipeSize) throws IOException { argument
98 initPipe(pipeSize);
122 * @param pipeSize the size of the pipe's buffer.
123 * @exception IllegalArgumentException if <code>pipeSize <= 0</code>.
126 public PipedReader(int pipeSize) { argument
127 initPipe(pipeSize);
130 private void initPipe(int pipeSize) { argument
131 if (pipeSize <
[all...]
H A DPipedInputStream.java118 * @param pipeSize the size of the pipe's buffer.
120 * @exception IllegalArgumentException if <code>pipeSize <= 0</code>.
123 public PipedInputStream(PipedOutputStream src, int pipeSize) argument
125 initPipe(pipeSize);
149 * @param pipeSize the size of the pipe's buffer.
150 * @exception IllegalArgumentException if <code>pipeSize <= 0</code>.
153 public PipedInputStream(int pipeSize) { argument
154 initPipe(pipeSize);
157 private void initPipe(int pipeSize) { argument
158 if (pipeSize <
[all...]

Completed in 45 milliseconds