Lines Matching refs:fc
57 FileChannel fc = fos.getChannel();
58 fc.write(dsts, 2, 1);
79 FileChannel fc = fos.getChannel();
81 fc.write(srcs, 1, 2);
83 fc.close();
87 fc = fis.getChannel();
90 fc.read(bb);
103 fc.close();
116 FileChannel fc = fos.getChannel();
118 fc.write(dst, -1);
140 * spec: the value returned by fc.write can be smaller than the number
165 FileChannel fc = fis.getChannel();
166 MappedByteBuffer mbb = fc.map(FileChannel.MapMode.READ_ONLY, 0,
172 FileChannel fc = fos.getChannel();
174 long bytesWritten = fc.write(dsts);
181 fc.close();
188 FileChannel fc = raf.getChannel();
189 fc.write(ByteBuffer.wrap("Use the source!".getBytes()),
191 fc.close();