Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 2014 (0.02 sec)

  1. src/mime/quotedprintable/reader_test.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package quotedprintable
    
    import (
    	"bufio"
    	"errors"
    	"flag"
    	"fmt"
    	"io"
    	"os/exec"
    	"regexp"
    	"slices"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestReader(t *testing.T) {
    	tests := []struct {
    		in, want string
    		err      any
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/compress/flate/reader_test.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // 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.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  3. src/strings/reader_test.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package strings_test
    
    import (
    	"bytes"
    	"fmt"
    	"io"
    	"strings"
    	"sync"
    	"testing"
    )
    
    func TestReader(t *testing.T) {
    	r := strings.NewReader("0123456789")
    	tests := []struct {
    		off     int64
    		seek    int
    		n       int
    		want    string
    		wantpos int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  4. src/compress/lzw/reader_test.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package lzw
    
    import (
    	"bytes"
    	"fmt"
    	"io"
    	"math"
    	"os"
    	"runtime"
    	"strconv"
    	"strings"
    	"testing"
    )
    
    type lzwTest struct {
    	desc       string
    	raw        string
    	compressed string
    	err        error
    }
    
    var lzwTests = []lzwTest{
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 16:57:58 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top