type github.com/klauspost/compress/huff0.Scratch
43 uses
github.com/klauspost/compress/huff0 (current package)
compress.go#L14: func Compress1X(in []byte, s *Scratch) (out []byte, reUsed bool, err error) {
compress.go#L27: func Compress4X(in []byte, s *Scratch) (out []byte, reUsed bool, err error) {
compress.go#L43: func compress(in []byte, s *Scratch, compressor func(src []byte) ([]byte, error)) (out []byte, reUsed bool, err error) {
compress.go#L166: func EstimateSizes(in []byte, s *Scratch) (tableSz, dataSz, reuseSz int, err error) {
compress.go#L229: func (s *Scratch) compress1X(src []byte) ([]byte, error) {
compress.go#L233: func (s *Scratch) compress1xDo(dst, src []byte) []byte {
compress.go#L269: func (s *Scratch) compress4X(src []byte) ([]byte, error) {
compress.go#L305: func (s *Scratch) compress4Xp(src []byte) ([]byte, error) {
compress.go#L351: func (s *Scratch) countSimple(in []byte) (max int, reuse bool) {
compress.go#L387: func (s *Scratch) canUseTable(c cTable) bool {
compress.go#L400: func (s *Scratch) validateTable(c cTable) bool {
compress.go#L418: func (s *Scratch) minTableLog() uint8 {
compress.go#L428: func (s *Scratch) optimalTableLog() {
compress.go#L457: func (s *Scratch) buildCTable() error {
compress.go#L570: func (s *Scratch) huffSort() {
compress.go#L609: func (s *Scratch) setMaxHeight(lastNonNull int) uint8 {
decompress.go#L29: func ReadTable(in []byte, s *Scratch) (s2 *Scratch, remain []byte, err error) {
decompress.go#L176: func (s *Scratch) Decompress1X(in []byte) (out []byte, err error) {
decompress.go#L191: func (s *Scratch) Decompress4X(in []byte, dstSize int) (out []byte, err error) {
decompress.go#L208: func (s *Scratch) Decoder() *Decoder {
decompress.go#L1095: func (s *Scratch) matches(ct cTable, w io.Writer) {
huff0.go#L64: type Scratch struct {
huff0.go#L125: func (s *Scratch) TransferCTable(src *Scratch) {
huff0.go#L134: func (s *Scratch) prepare(in []byte) (*Scratch, error) {
huff0.go#L139: s = &Scratch{}
huff0.go#L180: func (c cTable) write(s *Scratch) error {
huff0.go#L250: func (c cTable) estTableSize(s *Scratch) (sz int, err error) {
huff0.go#L323: func (s *Scratch) minSize(total int) int {
github.com/klauspost/compress/zstd
blockdec.go#L58: return &huff0.Scratch{}
blockdec.go#L436: huff = huffDecoderPool.Get().(*huff0.Scratch)
blockdec.go#L438: huff = &huff0.Scratch{}
blockenc.go#L22: litEnc *huff0.Scratch
blockenc.go#L23: dictLitEnc *huff0.Scratch
blockenc.go#L72: b.litEnc = &huff0.Scratch{WantLogLess: 4}
dict.go#L18: litEnc *huff0.Scratch
dict.go#L62: func (d *dict) LitEncoder() *huff0.Scratch {
dict.go#L158: LitEncoder() *huff0.Scratch
dict.go#L450: scratch := &huff0.Scratch{TableLog: 11}
dict.go#L452: scratch = &huff0.Scratch{TableLog: 11}
history.go#L14: huffTree *huff0.Scratch
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |