- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for allocate (0.24 sec)
-
src/main/java/org/codelibs/core/io/FileUtil.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
*/ protected static int copyInternal(final FileInputStream in, final OutputStream out) { try { final FileChannel channel = in.getChannel(); final ByteBuffer buffer = ByteBuffer.allocate(DEFAULT_BUF_SIZE); final byte[] buf = buffer.array(); int len; int amount = 0; while ((len = ChannelUtil.read(channel, buffer, amount)) != -1) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 52.4K bytes - Viewed (0)