- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for availableCapacity (0.2 sec)
-
android/guava/src/com/google/common/io/ReaderInputStream.java
int numChars = reader.read(charBuffer.array(), limit, availableCapacity(charBuffer)); if (numChars == -1) { endOfInput = true; } else { Java8Compatibility.limit(charBuffer, limit + numChars); } } /** Returns the number of elements between the limit and capacity. */ private static int availableCapacity(Buffer buffer) { return buffer.capacity() - buffer.limit(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 9.3K bytes - Viewed (0)