MCPcopy Create free account
hub / github.com/apache/solr / fill

Method fill

solr/solrj/src/java/org/noggit/JSONParser.java:232–240  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

230 }
231
232 protected void fill() throws IOException {
233 if (in != null) {
234 gpos += end;
235 start = 0;
236 int num = in.read(buf, 0, buf.length);
237 end = num >= 0 ? num : 0;
238 }
239 if (start >= end) eof = true;
240 }
241
242 private void getMore() throws IOException {
243 fill();

Callers 2

getMoreMethod · 0.95
getCharMethod · 0.95

Calls 1

readMethod · 0.65

Tested by

no test coverage detected