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

Method String

zstd/seqdec.go:27–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func (s seq) String() string {
28 if s.offset <= 3 {
29 if s.offset == 0 {
30 return fmt.Sprint("litLen:", s.litLen, ", matchLen:", s.matchLen+zstdMinMatch, ", offset: INVALID (0)")
31 }
32 return fmt.Sprint("litLen:", s.litLen, ", matchLen:", s.matchLen+zstdMinMatch, ", offset:", s.offset, " (repeat)")
33 }
34 return fmt.Sprint("litLen:", s.litLen, ", matchLen:", s.matchLen+zstdMinMatch, ", offset:", s.offset-3, " (new)")
35}
36
37type seqCompMode uint8
38

Callers 15

TestDecompress1XFunction · 0.45
TestDecompress4XFunction · 0.45
TestRoundtrip1XFuzzFunction · 0.45
TestRoundtrip4XFuzzFunction · 0.45
TestEncoder_SmallDictFunction · 0.45
getConcBlockOptsFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestDecompress1XFunction · 0.36
TestDecompress4XFunction · 0.36
TestRoundtrip1XFuzzFunction · 0.36
TestRoundtrip4XFuzzFunction · 0.36
TestEncoder_SmallDictFunction · 0.36
getConcBlockOptsFunction · 0.36