MCPcopy
hub / github.com/segmentio/kafka-go / clear

Method clear

protocol/buffer.go:422–426  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

420}
421
422func (pages contiguousPages) clear() {
423 for i := range pages {
424 pages[i] = nil
425 }
426}
427
428func (pages contiguousPages) ReadAt(b []byte, off int64) (int, error) {
429 rn := 0

Callers 3

unrefMethod · 0.80
TruncateMethod · 0.80
unrefMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected