Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for 2014 (0.04 sec)

  1. src/time/format.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 time
    
    import (
    	"errors"
    	"internal/stringslite"
    	_ "unsafe" // for linkname
    )
    
    // These are predefined layouts for use in [Time.Format] and [time.Parse].
    // The reference time used in these layouts is the specific time stamp:
    //
    //	01/02 03:04:05PM '06 -0700
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/expr.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.
    
    // This file implements typechecking of expressions.
    
    package types2
    
    import (
    	"cmd/compile/internal/syntax"
    	"fmt"
    	"go/constant"
    	"go/token"
    	. "internal/types/errors"
    	"strings"
    )
    
    /*
    Basic algorithm:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_client_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 tls
    
    import (
    	"bytes"
    	"context"
    	"crypto/ecdsa"
    	"crypto/elliptic"
    	"crypto/rand"
    	"crypto/rsa"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"encoding/base64"
    	"encoding/hex"
    	"encoding/pem"
    	"errors"
    	"fmt"
    	"internal/byteorder"
    	"io"
    	"math/big"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  4. src/sync/atomic/atomic_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 atomic_test
    
    import (
    	"fmt"
    	"reflect"
    	"runtime"
    	"runtime/debug"
    	"strings"
    	. "sync/atomic"
    	"testing"
    	"unsafe"
    )
    
    // Tests of correct behavior, without contention.
    // (Does the function work as advertised?)
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  5. src/go/types/api_test.go

    		{"go1.19.0", "", "go1.19.0"},         // no file version specified
    		{"go1.20", "go1.20.1", "go1.20"},     // file upgrade ignored
    		{"go1.20.1", "go1.20", "go1.20.1"},   // file upgrade ignored
    		{"go1.20.1", "go1.21", "go1.21"},     // file upgrade permitted
    		{"go1.20.1", "go1.19", "go1.20.1"},   // file downgrade not permitted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  6. src/time/time_test.go

    }
    
    var truncateRoundTests = []struct {
    	t Time
    	d Duration
    }{
    	{Date(-1, January, 1, 12, 15, 30, 5e8, UTC), 3},
    	{Date(-1, January, 1, 12, 15, 31, 5e8, UTC), 3},
    	{Date(2012, January, 1, 12, 15, 30, 5e8, UTC), Second},
    	{Date(2012, January, 1, 12, 15, 31, 5e8, UTC), Second},
    	{Unix(-19012425939, 649146258), 7435029458905025217}, // 5.8*d rounds to 6*d, but .8*d+.8*d < 0 < d
    }
    
    func TestTruncateRound(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/vendor/golang.org/x/sys/windows/security_windows.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 windows
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    const (
    	NameUnknown          = 0
    	NameFullyQualifiedDN = 1
    	NameSamCompatible    = 2
    	NameDisplay          = 3
    	NameUniqueId         = 6
    	NameCanonical        = 7
    	NameUserPrincipal    = 8
    	NameCanonicalEx      = 9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  9. src/cmd/internal/testdir/testdir_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 testdir_test runs tests in the GOROOT/test directory.
    package testdir_test
    
    import (
    	"bytes"
    	"encoding/json"
    	"errors"
    	"flag"
    	"fmt"
    	"go/build"
    	"go/build/constraint"
    	"hash/fnv"
    	"internal/testenv"
    	"io"
    	"io/fs"
    	"log"
    	"os"
    	"os/exec"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. src/regexp/syntax/parse.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 syntax
    
    import (
    	"sort"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    )
    
    // An Error describes a failure to parse a regular expression
    // and gives the offending expression.
    type Error struct {
    	Code ErrorCode
    	Expr string
    }
    
    func (e *Error) Error() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
Back to top