- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for transferFrom (0.17 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/cache2/FileOperator.kt
throw IndexOutOfBoundsException() } var mutablePos = pos var mutableByteCount = byteCount while (mutableByteCount > 0L) { val bytesWritten = fileChannel.transferFrom(source, mutablePos, mutableByteCount) mutablePos += bytesWritten mutableByteCount -= bytesWritten } } /** * Copy [byteCount] bytes from the file at [pos] into `sink`. It is the
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.4K bytes - Viewed (0) -
.teamcity/.mvn/wrapper/MavenWrapperDownloader.java
URL website = new URL(urlString); ReadableByteChannel rbc; rbc = Channels.newChannel(website.openStream()); FileOutputStream fos = new FileOutputStream(destination); fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE); fos.close(); rbc.close(); }
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Feb 26 01:48:39 GMT 2020 - 4.8K bytes - Viewed (0)