Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for 2014 (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/debug/elf/file_test.go

    	//   [    2] .data             PROGBITS        00000000 000034 000000 00  WA  0   0  1
    	//   [    3] .bss              NOBITS          00000000 000034 000000 00  WA  0   0  1
    	//   [    4] section_0001      PROGBITS        00000000 000034 000004 00  WA  0   0  4
    	//   [    5] section_0002      PROGBITS        00000000 000038 000004 00  WA  0   0  4
    	//   [ section_0003 ~ section_ff06 truncated ]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/go/build/build.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 build
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"go/ast"
    	"go/build/constraint"
    	"go/doc"
    	"go/token"
    	"internal/buildcfg"
    	"internal/godebug"
    	"internal/goroot"
    	"internal/goversion"
    	"internal/platform"
    	"io"
    	"io/fs"
    	"os"
    	"os/exec"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  8. src/net/dnsclient_unix_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.
    
    //go:build unix
    
    package net
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"os"
    	"path"
    	"path/filepath"
    	"reflect"
    	"runtime"
    	"slices"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	"golang.org/x/net/dns/dnsmessage"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewrite.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 ssa
    
    import (
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/logopt"
    	"cmd/compile/internal/reflectdata"
    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    	"cmd/internal/obj/s390x"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    	"encoding/binary"
    	"fmt"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/riscv/obj.go

    // Copyright © 2015 The Go Authors.  All rights reserved.
    //
    // Permission is hereby granted, free of charge, to any person obtaining a copy
    // of this software and associated documentation files (the "Software"), to deal
    // in the Software without restriction, including without limitation the rights
    // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    // copies of the Software, and to permit persons to whom the Software is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top