MCPcopy Index your code
hub / github.com/bitfield/script / newScanner

Function newScanner

script.go:1081–1085  ·  view source on GitHub ↗
(r io.Reader)

Source from the content-addressed store, hash-verified

1079}
1080
1081func newScanner(r io.Reader) *bufio.Scanner {
1082 scanner := bufio.NewScanner(r)
1083 scanner.Buffer(make([]byte, 4096), math.MaxInt)
1084 return scanner
1085}

Callers 7

EachLineMethod · 0.85
ExecForEachMethod · 0.85
FilterScanMethod · 0.85
FirstMethod · 0.85
FreqMethod · 0.85
JoinMethod · 0.85
LastMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…