Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildFSE (0.12 sec)

  1. src/internal/zstd/fse_test.go

    	-1, -1, -1, -1, -1,
    }
    
    // TestPredefinedTables verifies that we can generate the predefined
    // literal/offset/match tables from the input data in RFC 8878.
    // This serves as a test of the predefined tables, and also of buildFSE
    // and the functions that make baseline FSE tables.
    func TestPredefinedTables(t *testing.T) {
    	tests := []struct {
    		name         string
    		distribution []int16
    		tableBits    int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:13 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. src/internal/zstd/fse.go

    	}
    
    	br.backup()
    
    	if err := r.buildFSE(off, norm[:maxSym+1], table, accuracyLog); err != nil {
    		return 0, 0, err
    	}
    
    	return accuracyLog, int(br.off), nil
    }
    
    // buildFSE builds an FSE decoding table from a list of probabilities.
    // The probabilities are in norm. next is scratch space. The number of bits
    // in the table is tableBits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:44:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
Back to top