Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 64 for mtime (0.09 sec)

  1. lib/time/update.bash

    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    # This script rebuilds the time zone files using files
    # downloaded from the ICANN/IANA distribution.
    #
    # To prepare an update for a new Go release,
    # consult https://www.iana.org/time-zones for the latest versions,
    # update CODE and DATA below, and then run
    #
    #	./update.bash -commit
    #
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 18:20:41 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testsanitizers/testdata/msan8.go

    	pthread_kill(msanGoSignalThread, SIGWINCH);
    }
    */
    import "C"
    
    import (
    	"runtime"
    	"time"
    )
    
    func main() {
    	runtime.SetCgoTraceback(0, C.msanGoTraceback, nil, nil)
    
    	c := make(chan bool)
    	go func() {
    		defer func() { c <- true }()
    		C.msanGoLoop()
    	}()
    
    	for C.msanGoReady() == 0 {
    		time.Sleep(time.Microsecond)
    	}
    
    loop:
    	for {
    		select {
    		case <-c:
    			break loop
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:30:58 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. src/cmd/dist/testjson.go

    	}
    	err := marshal1(v)
    	return buf.Bytes(), err
    }
    
    func synthesizeSkipEvent(enc *json.Encoder, pkg, msg string) {
    	type event struct {
    		Time    time.Time
    		Action  string
    		Package string
    		Output  string `json:",omitempty"`
    	}
    	ev := event{Time: time.Now(), Package: pkg, Action: "start"}
    	enc.Encode(ev)
    	ev.Action = "output"
    	ev.Output = msg
    	enc.Encode(ev)
    	ev.Action = "skip"
    	ev.Output = ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/build_pgo.txt

    package main
    
    import (
    	"os"
    	"runtime/pprof"
    	"time"
    )
    
    func main() {
    	f, err := os.Create("prof")
    	if err != nil {
    		panic(err)
    	}
    	err = pprof.StartCPUProfile(f)
    	if err != nil {
    		panic(err)
    	}
    	// Spin to ensure we get some samples. If we get no samples, the result
    	// is equivalent to an empty profile.
    	start := time.Now()
    	for time.Since(start) < 100*time.Millisecond {}
    	pprof.StopCPUProfile()
    	f.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. api/go1.17.txt

    pkg text/template/parse, const SkipFuncCheck Mode
    pkg time, const Layout = "01/02 03:04:05PM '06 -0700"
    pkg time, const Layout ideal-string
    pkg time, func UnixMicro(int64) Time
    pkg time, func UnixMilli(int64) Time
    pkg time, method (Time) GoString() string
    pkg time, method (Time) IsDST() bool
    pkg time, method (Time) UnixMicro() int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 18K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/build_cache_output.txt

    go build -x -gcflags=-m lib.go
    stderr 'compile( |\.exe"?)'
    stderr 'lib.go:2.* can inline f'
    
    # ... but not the second, even though it still prints the compiler output.
    go build -x -gcflags=-m lib.go
    ! stderr 'compile( |\.exe"?)'
    stderr 'lib.go:2.* can inline f'
    
    # Building a trivial main package should run the compiler and linker the first time.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/codehost/svn.go

    	}
    
    	t, err := time.Parse(time.RFC3339, log.Logentry.Date)
    	if err != nil {
    		return nil, vcsErrorf("unexpected response from svn log --xml: %v\n%s", err, out)
    	}
    
    	info := &RevInfo{
    		Name:    strconv.FormatInt(log.Logentry.Revision, 10),
    		Short:   fmt.Sprintf("%012d", log.Logentry.Revision),
    		Time:    t.UTC(),
    		Version: rev,
    	}
    	return info, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 02:47:12 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue18146.go

    			// with EAGAIN.
    			if pe, ok := err.(*os.PathError); ok {
    				err = pe.Err
    			}
    			if se, ok := err.(syscall.Errno); ok && (se == syscall.EAGAIN || se == syscall.EMFILE) {
    				time.Sleep(time.Millisecond)
    				continue
    			}
    
    			t.Error(err)
    			return
    		}
    		cmds = append(cmds, cmd)
    	}
    
    	failures := 0
    	for _, cmd := range cmds {
    		err := cmd.Wait()
    		if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/exec_test.go

    // license that can be found in the LICENSE file.
    
    package work
    
    import (
    	"bytes"
    	"cmd/internal/objabi"
    	"cmd/internal/sys"
    	"fmt"
    	"math/rand"
    	"testing"
    	"time"
    	"unicode/utf8"
    )
    
    func TestEncodeArgs(t *testing.T) {
    	t.Parallel()
    	tests := []struct {
    		arg, want string
    	}{
    		{"", ""},
    		{"hello", "hello"},
    		{"hello\n", "hello\\n"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 02 13:15:42 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  10. doc/next/6-stdlib/99-minor/time/67470.md

    [Parse] and [ParseInLocation] now return an error if the time zone
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 17:30:16 UTC 2024
    - 91 bytes
    - Viewed (0)
Back to top