- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for doSkip (0.04 sec)
-
okhttp/src/main/kotlin/okhttp3/MultipartReader.kt
} else { // This is a subsequent part or a preamble. Skip until "\r\n--" followed by the boundary. while (true) { val toSkip = currentPartBytesRemaining(maxResult = 8192) if (toSkip == 0L) break source.skip(toSkip) } source.skip(crlfDashDashBoundary.size.toLong()) } // Read either \r\n or --\r\n to determine if there is another part.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.1K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
byteCount: Long, ) { val toRead = minOf(remainingByteCount, byteCount) if (toRead > 0L) { source.read(buffer, toRead) } val toSkip = byteCount - toRead if (toSkip > 0L) { source.skip(toSkip) } remainingByteCount -= toRead receivedByteCount += byteCount } @Throws(IOException::class) override fun flush() { }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 37.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
@Override public Iterator<T> iterator() { if (iterable instanceof List) { final List<T> list = (List<T>) iterable; int toSkip = Math.min(list.size(), numberToSkip); return list.subList(toSkip, list.size()).iterator(); } final Iterator<T> iterator = iterable.iterator(); Iterators.advance(iterator, numberToSkip); /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.8K bytes - Viewed (0)