- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for fseScratch (0.19 sec)
-
src/internal/zstd/block.go
case 2: // FSE_Compressed_Mode if cap(r.fseScratch) < 1<<info.maxBits { r.fseScratch = make([]fseEntry, 1<<info.maxBits) } r.fseScratch = r.fseScratch[:1<<info.maxBits] tableBits, roff, err := r.readFSE(data, off, info.maxSym, info.maxBits, r.fseScratch) if err != nil { return 0, err } r.fseScratch = r.fseScratch[:1<<tableBits] if cap(r.seqTableBuffers[kind]) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 28 17:57:43 UTC 2023 - 10.2K bytes - Viewed (0) -
src/internal/zstd/huff.go
var count int if hdr < 128 { // The table is compressed using an FSE. RFC 4.2.1.2. if len(r.fseScratch) < 1<<6 { r.fseScratch = make([]fseEntry, 1<<6) } fseBits, noff, err := r.readFSE(data, off, 255, 6, r.fseScratch) if err != nil { return 0, 0, err } fseTable := r.fseScratch if off+int(hdr) > len(data) { return 0, 0, r.makeEOFError(off) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:34:13 UTC 2023 - 4.7K bytes - Viewed (0) -
src/internal/zstd/zstd.go
seqTableBuffers [3][]fseBaselineEntry // Scratch space used for small reads, to avoid allocation. scratch [16]byte // A scratch table for reading an FSE. Only temporarily valid. fseScratch []fseEntry // For checksum computation. checksum xxhash64 } // NewReader creates a new Reader that decompresses data from the given reader. func NewReader(input io.Reader) *Reader { r := new(Reader)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 04:10:45 UTC 2024 - 12.7K bytes - Viewed (0)