crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
9becfc9d
ROOT
/
go
/
libraries
/
utils
/
iohelp
/
read.go
Search
History
330 lines
|
ISO-8859-1
|
8 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ErrPreservingReader
R
:
io.Reader
Err
:
error
NewErrPreservingReader
(r io.Reader)
:
*ErrPreservingReader
ReadNBytes
(r io.Reader, n int)
:
([]byte, error)
ReadLineNoBuf
(r io.Reader)
:
(string, bool, error)
ReadLine
(br *bufio.Reader)
:
(line string, done bool, err error)
ErrThroughput
MinThroughputCheckParams
MinBytesPerSec
:
int64
CheckInterval
:
time.Duration
NumIntervals
:
int
datapoint
ts
:
time.Time
val
:
int64
datapoints
getThroughput
(duration time.Duration)
:
(datapoints, int64)
safeClose
(c io.Closer)
readResults
bytes
:
[]byte
err
:
error
ReadNWithProgress
(r io.Reader, n int64, bytesRead *int64)
:
([]byte, error)
ReadWithMinThroughput
(r io.ReadCloser, n int64, mtcParams MinThroughputCheckParams)
:
([]byte, error)
*ErrPreservingReader
Read
(p []byte)
:
(int, error)
ReadUint32
(order binary.ByteOrder)
:
(uint32, error)
All occurrences
Please wait...
Page is in error, reload to recover