Lines Matching refs:buf
85 final ByteBuffer buf = ByteBuffer.allocate(100);
86 ch.read(buf, ch, new CompletionHandler<Integer,AsynchronousSocketChannel>() {
91 buf.clear();
92 ch.read(buf, ch, this);
164 ByteBuffer buf;
166 buf = ByteBuffer.allocateDirect(1);
168 buf = ByteBuffer.allocate(1);
170 buf.put((byte)0);
171 buf.flip();
172 return buf;