MCPcopy
hub / github.com/klauspost/compress / stashDecoder

Method stashDecoder

zstd/decoder.go:569–577  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

567}
568
569func (d *Decoder) stashDecoder() {
570 if d.current.d != nil {
571 if debugDecoder {
572 printf("re-adding current decoder %p", d.current.d)
573 }
574 d.decoders <- d.current.d
575 d.current.d = nil
576 }
577}
578
579// Close will release all resources.
580// It is NOT possible to reuse the decoder after this.

Callers 2

ResetMethod · 0.95
nextBlockMethod · 0.95

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected