MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / NewTestDataGenerator

Function NewTestDataGenerator

cmd/test-streammanager/generator.go:18–20  ·  view source on GitHub ↗
(totalBytes int64)

Source from the content-addressed store, hash-verified

16}
17
18func NewTestDataGenerator(totalBytes int64) *TestDataGenerator {
19 return &TestDataGenerator{totalBytes: totalBytes}
20}
21
22func (g *TestDataGenerator) Read(p []byte) (n int, err error) {
23 if g.generated >= g.totalBytes {

Callers 3

NewVerifierFunction · 0.85
runStreamManagerModeFunction · 0.85
runWriterModeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected