MCPcopy Create free account
hub / github.com/antlr/codebuff / read

Method read

corpus/java/training/guava/io/ReaderInputStream.java:118–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116 }
117
118 @Override
119 public int read() throws IOException {
120 return (read(singleByte) == 1) ? UnsignedBytes.toInt(singleByte[0]) : -1;
121 }
122
123 // TODO(chrisn): Consider trying to encode/flush directly to the argument byte
124 // buffer when possible.

Callers 1

readMoreCharsMethod · 0.45

Calls 8

toIntMethod · 0.95
drainMethod · 0.95
startDrainingMethod · 0.95
readMoreCharsMethod · 0.95
clearMethod · 0.65
checkPositionIndexesMethod · 0.45
flushMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected