Home | History | Annotate | Download | only in channels

Lines Matching refs:BUFFER_SIZE

32 	private static final int BUFFER_SIZE = 5;
53 positionedBuffer.position(BUFFER_SIZE);
90 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE);
94 assertEquals(BUFFER_SIZE, count);
108 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE);
116 readBuf.position(BUFFER_SIZE);
165 positionedBuffer.position(BUFFER_SIZE);
172 ByteBuffer[] readBufArray = { ByteBuffer.allocate(BUFFER_SIZE),
173 ByteBuffer.allocate(BUFFER_SIZE) };
180 if (0 == count && BUFFER_SIZE == readBufArray[1].position()) {
189 assertEquals(BUFFER_SIZE, readBuf.position());
236 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE);
241 assertEquals(BUFFER_SIZE, count);
256 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE);
265 readBuf.position(BUFFER_SIZE);
309 positionedBuffer.position(BUFFER_SIZE);
315 ByteBuffer[] readBufArray = { ByteBuffer.allocate(BUFFER_SIZE),
316 ByteBuffer.allocate(BUFFER_SIZE) };
323 if (0 == count && BUFFER_SIZE == readBufArray[1].position()) {
333 assertEquals(BUFFER_SIZE, readBuf.position());
431 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE);
436 assertEquals(BUFFER_SIZE, count);
450 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE);
459 readBuf.position(BUFFER_SIZE);