OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ReadSlice
(Results
1 - 2
of
2
) sorted by null
/prebuilts/go/darwin-x86/src/bufio/
bufio.go
293
//
ReadSlice
reads until the first occurrence of delim in the input,
296
// If
ReadSlice
encounters an error before finding a delimiter,
298
//
ReadSlice
fails with error ErrBufferFull if the buffer fills without a delim.
299
// Because the data returned from
ReadSlice
will be overwritten
302
//
ReadSlice
returns err != nil if and only if line does not end in delim.
303
func (b *Reader)
ReadSlice
(delim byte) (line []byte, err error) {
357
line, err = b.
ReadSlice
('\n')
399
// Use
ReadSlice
to look for array,
406
frag, e = b.
ReadSlice
(delim)
/prebuilts/go/linux-x86/src/bufio/
bufio.go
293
//
ReadSlice
reads until the first occurrence of delim in the input,
296
// If
ReadSlice
encounters an error before finding a delimiter,
298
//
ReadSlice
fails with error ErrBufferFull if the buffer fills without a delim.
299
// Because the data returned from
ReadSlice
will be overwritten
302
//
ReadSlice
returns err != nil if and only if line does not end in delim.
303
func (b *Reader)
ReadSlice
(delim byte) (line []byte, err error) {
357
line, err = b.
ReadSlice
('\n')
399
// Use
ReadSlice
to look for array,
406
frag, e = b.
ReadSlice
(delim)
Completed in 118 milliseconds