Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 581 for 2017 (0.14 sec)

  1. cmd/update_test.go

    		t      time.Time
    		tag    string
    		errStr string
    	}{
    		{
    			time.Date(2017, time.September, 29, 19, 16, 56, 0, utcLoc),
    			"RELEASE.2017-09-29T19-16-56Z", "",
    		},
    		{
    			time.Date(2017, time.August, 5, 0, 0, 53, 0, utcLoc),
    			"RELEASE.2017-08-05T00-00-53Z", "",
    		},
    		{
    			time.Now().UTC(), "2017-09-29T19:16:56Z",
    			"2017-09-29T19:16:56Z is not a valid release tag",
    		},
    		{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  2. internal/bucket/object/lock/lock_test.go

    				xhttp.AmzObjectLockRetainUntilDate: []string{"2017-01-02"},
    			},
    			expectedErr: ErrUnknownWORMModeDirective,
    		},
    		{
    			header: http.Header{
    				xhttp.AmzObjectLockMode: []string{"governance"},
    			},
    			expectedErr: ErrObjectLockInvalidHeaders,
    		},
    		{
    			header: http.Header{
    				xhttp.AmzObjectLockRetainUntilDate: []string{"2017-01-02"},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue21897b.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.
    
    //go:build !darwin || !cgo || internal
    
    package cgotest
    
    import "testing"
    
    func test21897(t *testing.T) {
    	t.Skip("test runs only on darwin+cgo")
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 308 bytes
    - Viewed (0)
  4. cmd/version_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    	"time"
    )
    
    func TestVersion(t *testing.T) {
    	Version = "2017-05-07T06:37:49Z"
    	_, err := time.Parse(time.RFC3339, Version)
    	if err != nil {
    		t.Fatal(err)
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 956 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue20266.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.
    
    // Issue 20266: use -I with a relative path.
    
    package cgotest
    
    /*
    #cgo CFLAGS: -I issue20266 -Iissue20266 -Ddef20266
    #include "issue20266.h"
    */
    import "C"
    
    import "testing"
    
    func test20266(t *testing.T) {
    	if got, want := C.issue20266, 20266; got != want {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 463 bytes
    - Viewed (0)
  6. src/cmd/buildid/doc.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.
    
    /*
    Buildid displays or updates the build ID stored in a Go package or binary.
    
    Usage:
    
    	go tool buildid [-w] file
    
    By default, buildid prints the build ID found in the named file.
    If the -w option is given, buildid rewrites the build ID found in
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 558 bytes
    - Viewed (0)
  7. src/archive/zip/reader_test.go

    				Modified: time.Date(2011, 12, 8, 10, 4, 50, 0, time.UTC),
    				Mode:     0666,
    			},
    			{
    				Name:     "dir/empty/",
    				Content:  []byte{},
    				Modified: time.Date(2011, 12, 8, 10, 8, 6, 0, time.UTC),
    				Mode:     fs.ModeDir | 0777,
    			},
    			{
    				Name:     "readonly",
    				Content:  []byte("important \r\n"),
    				Modified: time.Date(2011, 12, 8, 10, 6, 8, 0, time.UTC),
    				Mode:     0444,
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/swig/testdata/stdio/main.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.
    
    // This file is here just to cause problems.
    // main.swig turns into a file also named main.go.
    // Make sure cmd/go keeps them separate
    // when both are passed to cgo.
    
    package main
    
    //int F(void) { return 1; }
    import "C"
    import (
    	"fmt"
    	"os"
    )
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 975 bytes
    - Viewed (0)
  9. src/cmd/buildid/buildid.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 main
    
    import (
    	"flag"
    	"fmt"
    	"log"
    	"os"
    	"strings"
    
    	"cmd/internal/buildid"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go tool buildid [-w] file\n")
    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    var wflag = flag.Bool("w", false, "write build ID")
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Jun 06 14:30:53 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  10. src/bytes/boundary_test.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.
    //
    //go:build linux
    
    package bytes_test
    
    import (
    	. "bytes"
    	"syscall"
    	"testing"
    )
    
    // This file tests the situation where byte operations are checking
    // data very near to a page boundary. We want to make sure those
    // operations do not read across the boundary and cause a page
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 30 20:05:58 GMT 2023
    - 2.8K bytes
    - Viewed (0)
Back to top