Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for readFSE (0.12 sec)

  1. src/internal/zstd/fse.go

    }
    
    // readFSE reads an FSE table from data starting at off.
    // maxSym is the maximum symbol value.
    // maxBits is the maximum number of bits permitted for symbols in the table.
    // The FSE is written into table, which must be at least 1<<maxBits in size.
    // This returns the number of bits in the FSE table and the new offset.
    // RFC 4.1.1.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:44:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  2. src/internal/zstd/huff.go

    	var weights [256]uint8
    	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)
  3. 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)
Back to top