Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testBlockHuff (0.14 sec)

  1. src/compress/flate/huffman_bit_writer_test.go

    	"strings"
    	"testing"
    )
    
    var update = flag.Bool("update", false, "update reference files")
    
    // TestBlockHuff tests huffman encoding against reference files
    // to detect possible regressions.
    // If encoding/bit allocation changes you can regenerate these files
    // by using the -update flag.
    func TestBlockHuff(t *testing.T) {
    	// determine input files
    	match, err := filepath.Glob("testdata/huffman-*.in")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 40.3K bytes
    - Viewed (0)
Back to top