Home
last modified time | relevance | path

Searched refs:MAX_BUFFER_SIZE (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
DBufferedInputStream.java63 private static final int MAX_BUFFER_SIZE = Integer.MAX_VALUE - 8; field in BufferedInputStream
228 } else if (buffer.length >= MAX_BUFFER_SIZE) { in fill()
231 int nsz = (pos <= MAX_BUFFER_SIZE - pos) ? in fill()
232 pos * 2 : MAX_BUFFER_SIZE; in fill()
/libcore/ojluni/src/main/java/java/nio/file/
DFiles.java3079 private static final int MAX_BUFFER_SIZE = Integer.MAX_VALUE - 8;
3114 if (capacity <= MAX_BUFFER_SIZE - capacity) {
3117 if (capacity == MAX_BUFFER_SIZE)
3119 capacity = MAX_BUFFER_SIZE;
3155 if (size > (long)MAX_BUFFER_SIZE)