"errors"
"go/ast"
"go/parser"
- "go/token"
"go/scanner"
+ "go/token"
"gob"
"index/suffixarray"
"io"
import (
"bytes"
+ "fmt"
"go/ast"
"go/token"
- "fmt"
)
type Snippet struct {
"bytes"
"flag"
"fmt"
- "io"
"go/ast"
"go/parser"
"go/printer"
"go/token"
+ "io"
"os"
"path/filepath"
"reflect"
//
import (
+ "bufio"
+ "bytes"
"flag"
"fmt"
- "bufio"
"os"
"strings"
- "bytes"
)
// the following are adjustable
import (
"bufio"
"compress/flate"
+ "encoding/binary"
"errors"
"hash"
"hash/crc32"
- "encoding/binary"
"io"
"io/ioutil"
"os"
package heap_test
import (
- "testing"
. "container/heap"
+ "testing"
)
type myHeap []int
import (
"big"
"crypto/elliptic"
- "crypto/sha1"
"crypto/rand"
+ "crypto/sha1"
"encoding/hex"
"testing"
)
package hmac
import (
- "hash"
"fmt"
+ "hash"
"testing"
)
import (
"bytes"
- "crypto/sha1"
"crypto/rand"
+ "crypto/sha1"
"encoding/hex"
"testing"
)
import (
"big"
- "crypto/x509/pkix"
"crypto/rand"
"crypto/rsa"
"crypto/x509"
+ "crypto/x509/pkix"
"encoding/pem"
"flag"
"log"
import (
"asn1"
"big"
- "errors"
"crypto/rsa"
+ "errors"
)
// pkcs1PrivateKey is a structure which mirrors the PKCS#1 ASN.1 for an RSA private key.
import (
"asn1"
- "bytes"
"big"
+ "bytes"
"crypto/dsa"
"crypto/rand"
"crypto/rsa"
import (
"debug/elf"
"os"
- "testing"
"syscall"
+ "testing"
)
func dotest() bool {
import (
"errors"
- "math"
"io"
+ "math"
"reflect"
)
package binary
import (
- "io"
"bytes"
+ "io"
"math"
"reflect"
"testing"
"fmt"
"io"
"io/ioutil"
- "testing"
"os"
"runtime"
"strconv"
"strings"
+ "testing"
)
func helperCommand(s ...string) *Cmd {
import (
"os"
- "time"
"testing"
+ "time"
)
func TestInotifyEvents(t *testing.T) {
"path"
"regexp"
"runtime"
- "strings"
"strconv"
+ "strings"
"time"
"utf8"
)
import (
"os"
- "time"
"testing"
+ "time"
)
func expect(t *testing.T, eventstream <-chan *Event, name string, mask uint32) {
import (
"fmt"
- "syscall"
"os"
+ "syscall"
"unsafe"
)
package main
import (
- "unsafe"
"syscall"
+ "unsafe"
)
type Wndclassex struct {
"http"
"http/httptest"
"io"
- "os"
"net"
+ "os"
"path/filepath"
+ "runtime"
"strconv"
"strings"
"testing"
"time"
- "runtime"
)
func newRequest(httpreq string) *http.Request {
package http
import (
- "bytes"
"bufio"
+ "bytes"
"errors"
"fmt"
"io"
package http
import (
- "os"
"net"
+ "os"
)
func init() {
import (
"errors"
- "image/color"
"image"
+ "image/color"
"io"
)
"image/color"
"image/png"
"io/ioutil"
- "rand"
"os"
+ "rand"
"testing"
)
package io_test
import (
- . "io"
"bytes"
"crypto/sha1"
"fmt"
+ . "io"
"strings"
"testing"
)
"bytes"
"fmt"
"io"
- "runtime"
"os"
- "time"
+ "runtime"
"sync"
+ "time"
)
// These flags define which text to prefix to each log entry generated by the Logger.
import (
"bytes"
"reflect"
- "testing"
"runtime"
+ "testing"
)
func isEqual(a, b []byte) bool {
package net
import (
- "syscall"
- "unsafe"
"os"
"sync"
+ "syscall"
+ "unsafe"
)
var (
import (
"bufio"
"os"
- "testing"
"runtime"
+ "testing"
)
func TestReadLine(t *testing.T) {
"flag"
"io"
"os"
+ "runtime"
"strings"
"syscall"
"testing"
- "runtime"
)
// Do not test empty datagrams by default.
import (
"errors"
- "log"
"io"
+ "log"
"net"
"reflect"
"strconv"
import (
"errors"
"syscall"
- "utf16"
"unsafe"
+ "utf16"
)
// ENOENV is the error indicating that an environment variable does not exist.
import (
. "os"
"path/filepath"
- "testing"
"runtime"
"syscall"
+ "testing"
)
func TestMkdirAll(t *testing.T) {
package os
import (
- "unsafe"
"syscall"
+ "unsafe"
)
// Stat returns the FileInfo structure describing file.
import (
. "path/filepath"
- "testing"
"runtime"
+ "testing"
)
type MatchTest struct {
import (
"errors"
- "math"
"fmt"
+ "math"
"testing"
)
"errors"
"gob"
"http"
- "log"
"io"
+ "log"
"net"
"reflect"
"strings"
import (
"syscall"
- "unsafe"
"testing"
+ "unsafe"
)
type DLL struct {
package sync_test
import (
+ "runtime"
. "sync"
"sync/atomic"
- "runtime"
"testing"
)
import (
"errors"
"fmt"
- "testing"
"sort"
+ "testing"
. "time"
)
package time
import (
- "syscall"
- "sync"
"os"
+ "sync"
+ "syscall"
)
// BUG(brainman): The Windows implementation assumes that
"log"
"os"
"path/filepath"
+ "regexp"
"sort"
"strconv"
"strings"
- "regexp"
"unicode"
)
package xml
import (
- "reflect"
- "testing"
"bytes"
- "strings"
+ "reflect"
"strconv"
+ "strings"
+ "testing"
)
type DriveType int