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

Method createBuffer

corpus/java/training/guava/io/CharStreams.java:54–56  ·  view source on GitHub ↗

Creates a new CharBuffer for buffering reads or writes.

()

Source from the content-addressed store, hash-verified

52 * Creates a new {@code CharBuffer} for buffering reads or writes.
53 */
54 static CharBuffer createBuffer() {
55 return CharBuffer.allocate(0x800); // 2K chars (4K bytes)
56 }
57
58 private CharStreams() {}
59

Callers 4

copyMethod · 0.95
exhaustMethod · 0.95
contentEqualsMethod · 0.45
LineReaderClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected