Searched defs:localBuf (Results 1 - 1 of 1) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DRecyclableBufferedInputStream.java121 private int fillbuf(InputStream localIn, byte[] localBuf) argument
125 int result = localIn.read(localBuf);
133 //Added count == localBuf.length so that we do not immediately double the buffer size before reading any data
134 // when marklimit > localBuf.length. Instead, we will double the buffer size only after reading the initial
135 // localBuf worth of data without finding what we're looking for in the stream. This allows us to set a
138 if (markpos == 0 && marklimit > localBuf.length && count == localBuf.length) {
140 int newLength = localBuf.length * 2;
145 System.arraycopy(localBuf, 0, newbuf, 0, localBuf
[all...]

Completed in 138 milliseconds