MCPcopy Index your code
hub / github.com/klauspost/compress / Reset

Method Reset

zstd/enc_dfast.go:1033–1038  ·  view source on GitHub ↗

ResetDict will reset and set a dictionary if not nil

(d *dict, singleBlock bool)

Source from the content-addressed store, hash-verified

1031
1032// ResetDict will reset and set a dictionary if not nil
1033func (e *doubleFastEncoder) Reset(d *dict, singleBlock bool) {
1034 e.fastEncoder.Reset(d, singleBlock)
1035 if d != nil {
1036 panic("doubleFastEncoder: Reset with dict not supported")
1037 }
1038}
1039
1040func (e *doubleFastEncoder) ResetPrefix(prefix []byte) {
1041 e.fastEncoder.ResetPrefix(prefix)

Callers

nothing calls this directly

Calls 1

ResetMethod · 0.65

Tested by

no test coverage detected