Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNlitOutOfRange (0.21 sec)

  1. src/compress/flate/reader_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package flate
    
    import (
    	"bytes"
    	"io"
    	"os"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    func TestNlitOutOfRange(t *testing.T) {
    	// Trying to decode this bogus flate data, which has a Huffman table
    	// with nlit=288, should not panic.
    	io.Copy(io.Discard, NewReader(strings.NewReader(
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 2.3K bytes
    - Viewed (0)
Back to top