Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 125 for Style (0.14 sec)

  1. src/cmd/dist/test.go

    // Copyright 2015 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 main
    
    import (
    	"bytes"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"io"
    	"io/fs"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"reflect"
    	"regexp"
    	"runtime"
    	"strconv"
    	"strings"
    	"time"
    )
    
    func cmdtest() {
    	gogcflags = os.Getenv("GO_GCFLAGS")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  2. src/debug/elf/file_test.go

    // Copyright 2009 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 elf
    
    import (
    	"bytes"
    	"compress/gzip"
    	"compress/zlib"
    	"debug/dwarf"
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"net"
    	"os"
    	"path"
    	"reflect"
    	"runtime"
    	"slices"
    	"strings"
    	"testing"
    )
    
    type fileTest struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  3. src/math/big/float_test.go

    // Copyright 2014 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 big
    
    import (
    	"flag"
    	"fmt"
    	"math"
    	"strconv"
    	"strings"
    	"testing"
    )
    
    // Verify that ErrNaN implements the error interface.
    var _ error = ErrNaN{}
    
    func (x *Float) uint64() uint64 {
    	u, acc := x.Uint64()
    	if acc != Exact {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  4. src/bufio/bufio_test.go

    // Copyright 2009 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 bufio_test
    
    import (
    	. "bufio"
    	"bytes"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"strconv"
    	"strings"
    	"testing"
    	"testing/iotest"
    	"time"
    	"unicode/utf8"
    )
    
    // Reads from a reader and rot13s the result.
    type rot13Reader struct {
    	r io.Reader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  5. src/net/url/url_test.go

    // Copyright 2009 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 url
    
    import (
    	"bytes"
    	encodingPkg "encoding"
    	"encoding/gob"
    	"encoding/json"
    	"fmt"
    	"io"
    	"net"
    	"reflect"
    	"strings"
    	"testing"
    )
    
    type URLTest struct {
    	in        string
    	out       *URL   // expected parse
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  6. src/runtime/mprof.go

    // Copyright 2009 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.
    
    // Malloc profiling.
    // Patterned after tcmalloc's algorithms; shorter code.
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/profilerecord"
    	"internal/runtime/atomic"
    	"runtime/internal/sys"
    	"unsafe"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/prove.go

    // Copyright 2016 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 ssa
    
    import (
    	"cmd/internal/src"
    	"fmt"
    	"math"
    )
    
    type branch int
    
    const (
    	unknown branch = iota
    	positive
    	negative
    	// The outedges from a jump table are jumpTable0,
    	// jumpTable0+1, jumpTable0+2, etc. There could be an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/type.go

    // Copyright 2017 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 types
    
    import (
    	"cmd/compile/internal/base"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    	"fmt"
    	"go/constant"
    	"internal/types/errors"
    	"sync"
    )
    
    // Object represents an ir.Node, but without needing to import cmd/compile/internal/ir,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  9. src/crypto/tls/common.go

    // Copyright 2009 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 tls
    
    import (
    	"bytes"
    	"container/list"
    	"context"
    	"crypto"
    	"crypto/ecdsa"
    	"crypto/ed25519"
    	"crypto/elliptic"
    	"crypto/rand"
    	"crypto/rsa"
    	"crypto/sha512"
    	"crypto/x509"
    	"errors"
    	"fmt"
    	"internal/godebug"
    	"io"
    	"net"
    	"slices"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  10. src/crypto/des/des_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 des_test
    
    import (
    	"bytes"
    	"crypto/cipher"
    	"crypto/des"
    	"testing"
    )
    
    type CryptTest struct {
    	key []byte
    	in  []byte
    	out []byte
    }
    
    // some custom tests for DES
    var encryptDESTests = []CryptTest{
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 16:49:56 UTC 2023
    - 52.2K bytes
    - Viewed (0)
Back to top