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
2a583dd8
ROOT
/
go
/
libraries
/
utils
/
iohelp
/
read_test.go
Search
History
318 lines
|
ISO-8859-1
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
TestErrPreservingReader
(t *testing.T)
rlTests
TestReadReadLineFunctions
(t *testing.T)
getTestReadLineClosure
(inputStr string)
:
func() (string, bool, error)
getTestReadLineNoBufClosure
(inputStr string)
:
func() (string, bool, error)
testReadLineFunctions
(t *testing.T, testType string, expected []string, rlFunc func() (string, bool, error))
ErrClosed
FixedRateDataGenerator
BytesPerInterval
:
int
Interval
:
time.Duration
lastRead
:
time.Time
closeChan
:
chan struct{}
dataGenerated
:
uint64
NewFixedRateDataGenerator
(bytesPerInterval int, interval time.Duration)
:
*FixedRateDataGenerator
ErroringReader
Err
:
error
Read
(p []byte)
:
(int, error)
Close
()
:
error
ReaderSizePair
Reader
:
io.ReadCloser
Size
:
int
ReaderCollection
ReadersAndSizes
:
[]ReaderSizePair
currIdx
:
int
currReaderRead
:
int
NewReaderCollection
(readerSizePair ...ReaderSizePair)
:
*ReaderCollection
TestReadWithMinThroughput
(t *testing.T)
*FixedRateDataGenerator
Read
(p []byte)
:
(int, error)
Close
()
:
error
*ReaderCollection
Read
(p []byte)
:
(int, error)
Close
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover