Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for availableCapacity (0.12 sec)

  1. 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();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. 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();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top