Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 328 for 2014 (0.11 sec)

  1. src/cmd/compile/internal/types2/builtins_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 types2_test
    
    import (
    	"cmd/compile/internal/syntax"
    	"fmt"
    	"testing"
    
    	. "cmd/compile/internal/types2"
    )
    
    var builtinCalls = []struct {
    	name, src, sig string
    }{
    	{"append", `var s []int; _ = append(s)`, `func([]int, ...int) []int`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 18:06:31 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/testflag.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 test
    
    import (
    	"cmd/go/internal/base"
    	"cmd/go/internal/cmdflag"
    	"cmd/go/internal/work"
    	"errors"
    	"flag"
    	"fmt"
    	"os"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"time"
    )
    
    //go:generate go run ./genflags.go
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/crypto/elliptic/elliptic_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 elliptic
    
    import (
    	"bytes"
    	"crypto/rand"
    	"encoding/hex"
    	"math/big"
    	"testing"
    )
    
    // genericParamsForCurve returns the dereferenced CurveParams for
    // the specified curve. This is used to avoid the logic for
    // upgrading a curve to its specific implementation, forcing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 27 02:00:03 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  4. src/internal/fuzz/encoding.go

    				// whether the architecture represents signaling NaNs using a low bit
    				// (as is common) or a high bit (as commonly implemented on MIPS
    				// hardware before around 2012). We believe that the increase in clarity
    				// from identifying "NaN" with math.NaN() is worth the slight ambiguity
    				// from a platform-dependent value.
    				fmt.Fprintf(b, "math.Float32frombits(0x%x)\n", math.Float32bits(t))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 16:39:12 UTC 2022
    - 11K bytes
    - Viewed (0)
  5. src/html/template/js_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 template
    
    import (
    	"errors"
    	"math"
    	"strings"
    	"testing"
    )
    
    func TestNextJsCtx(t *testing.T) {
    	tests := []struct {
    		jsCtx jsCtx
    		s     string
    	}{
    		// Statement terminators precede regexps.
    		{jsCtxRegexp, ";"},
    		// This is not airtight.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 02:20:11 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/inline/inlheur/scoring.go

    // 115    40          DEMOTED cmd/compile/internal/abi.(*ABIParamAssignment).Offset     expand_calls.go:1679:14|6       panicPathAdj
    // 76     -5n         PROMOTED runtime.persistentalloc   mcheckmark.go:48:45|3   inLoopAdj
    // 201    0           --- PGO  unicode.DecodeRuneInString        utf8.go:312:30|1
    // 7      -5          --- PGO  internal/abi.Name.DataChecked     type.go:625:22|0        inLoopAdj
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. src/net/mail/message.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 mail implements parsing of mail messages.
    
    For the most part, this package follows the syntax as specified by RFC 5322 and
    extended by RFC 6532.
    Notable divergences:
      - Obsolete address formats are not parsed, including addresses with
        embedded route information.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. src/runtime/memmove_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 runtime_test
    
    import (
    	"crypto/rand"
    	"encoding/binary"
    	"fmt"
    	"internal/race"
    	"internal/testenv"
    	. "runtime"
    	"sync/atomic"
    	"testing"
    	"unsafe"
    )
    
    func TestMemmove(t *testing.T) {
    	if *flagQuick {
    		t.Skip("-quick")
    	}
    	t.Parallel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:12 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. src/text/template/parse/parse_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 parse
    
    import (
    	"flag"
    	"fmt"
    	"strings"
    	"testing"
    )
    
    var debug = flag.Bool("debug", false, "show the errors produced by the main tests")
    
    type numberTest struct {
    	text      string
    	isInt     bool
    	isUint    bool
    	isFloat   bool
    	isComplex bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. src/cmd/go/internal/help/helpdoc.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 help
    
    import "cmd/go/internal/base"
    
    var HelpC = &base.Command{
    	UsageLine: "c",
    	Short:     "calling between Go and C",
    	Long: `
    There are two different ways to call between Go and C/C++ code.
    
    The first is the cgo tool, which is part of the Go distribution. For
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top