MCPcopy Create free account
hub / github.com/brimdata/super / Add

Method Add

vector/vio/io.go:62–69  ·  view source on GitHub ↗

Add updates its receiver by adding to it the values in ss.

(in Progress)

Source from the content-addressed store, hash-verified

60
61// Add updates its receiver by adding to it the values in ss.
62func (p *Progress) Add(in Progress) {
63 if p != nil {
64 atomic.AddInt64(&p.BytesRead, in.BytesRead)
65 atomic.AddInt64(&p.BytesMatched, in.BytesMatched)
66 atomic.AddInt64(&p.RecordsRead, in.RecordsRead)
67 atomic.AddInt64(&p.RecordsMatched, in.RecordsMatched)
68 }
69}
70
71func (p *Progress) Copy() Progress {
72 if p == nil {

Callers 3

ProgressMethod · 0.95
FuzzQueryFunction · 0.45
WriteMethod · 0.45

Calls

no outgoing calls

Tested by 1

FuzzQueryFunction · 0.36