Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for 2014 (0.03 sec)

  1. src/encoding/csv/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 csv
    
    import (
    	"errors"
    	"fmt"
    	"io"
    	"reflect"
    	"strings"
    	"testing"
    	"unicode/utf8"
    )
    
    type readTest struct {
    	Name      string
    	Input     string
    	Output    [][]string
    	Positions [][][2]int
    	Errors    []error
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 14 04:25:13 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  2. 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)
  3. src/net/textproto/reader_test.go

    // Copyright 2010 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 textproto
    
    import (
    	"bufio"
    	"bytes"
    	"io"
    	"net"
    	"reflect"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    )
    
    func reader(s string) *Reader {
    	return NewReader(bufio.NewReader(strings.NewReader(s)))
    }
    
    func TestReadLine(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. src/image/jpeg/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 jpeg
    
    import (
    	"bytes"
    	"encoding/base64"
    	"fmt"
    	"image"
    	"image/color"
    	"io"
    	"math/rand"
    	"os"
    	"runtime/debug"
    	"strings"
    	"testing"
    	"time"
    )
    
    // TestDecodeProgressive tests that decoding the baseline and progressive
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 00:46:29 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/image/gif/reader_test.go

    // Copyright 2013 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 gif
    
    import (
    	"bytes"
    	"compress/lzw"
    	"encoding/hex"
    	"image"
    	"image/color"
    	"image/color/palette"
    	"io"
    	"os"
    	"reflect"
    	"runtime"
    	"runtime/debug"
    	"strings"
    	"testing"
    )
    
    // header, palette and trailer are parts of a valid 2x1 GIF image.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top