Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 287 for kime (0.48 sec)

  1. src/cmd/go/internal/cache/cache.go

    // within 5 days of the previous reuse. See golang.org/issue/22990.
    const (
    	mtimeInterval = 1 * time.Hour
    	trimInterval  = 24 * time.Hour
    	trimLimit     = 5 * 24 * time.Hour
    )
    
    // used makes a best-effort attempt to update mtime on file,
    // so that mtime reflects cache access time.
    //
    // Because the reflection only needs to be approximate,
    // and to reduce the amount of disk activity caused by using
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. src/cmd/internal/test2json/test2json.go

    import (
    	"bytes"
    	"encoding/json"
    	"fmt"
    	"io"
    	"strconv"
    	"strings"
    	"time"
    	"unicode"
    	"unicode/utf8"
    )
    
    // Mode controls details of the conversion.
    type Mode int
    
    const (
    	Timestamp Mode = 1 << iota // include Time in events
    )
    
    // event is the JSON struct we emit.
    type event struct {
    	Time    *time.Time `json:",omitempty"`
    	Action  string
    	Package string     `json:",omitempty"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 14.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    	var src string
    	duration, timeout := time.Duration(s.Seconds)*time.Second, time.Duration(s.Timeout)*time.Second
    	if fetcher != nil {
    		p, src, err = fetcher.Fetch(source, duration, timeout)
    		if err != nil {
    			return
    		}
    	}
    	if err != nil || p == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modfetch/codehost/vcs.go

    	if err != nil {
    		return nil, vcsErrorf("invalid time from hg log: %q", out)
    	}
    
    	var tags []string
    	for _, tag := range f[3:] {
    		if tag != "tip" {
    			tags = append(tags, tag)
    		}
    	}
    	sort.Strings(tags)
    
    	info := &RevInfo{
    		Origin: &Origin{
    			Hash: hash,
    		},
    		Name:    hash,
    		Short:   ShortenSHA1(hash),
    		Time:    time.Unix(t, 0).UTC(),
    		Version: version,
    		Tags:    tags,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. src/cmd/go/script_test.go

    		t.Fatal(err)
    	}
    
    	StartProxy()
    
    	var (
    		ctx         = context.Background()
    		gracePeriod = 100 * time.Millisecond
    	)
    	if deadline, ok := t.Deadline(); ok {
    		timeout := time.Until(deadline)
    
    		// If time allows, increase the termination grace period to 5% of the
    		// remaining time.
    		if gp := timeout / 20; gp > gracePeriod {
    			gracePeriod = gp
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/archive/tar/strconv_test.go

    		{"-", time.Time{}, false},
    		{"+", time.Time{}, false},
    		{"-1.-1", time.Time{}, false},
    		{"99999999999999999999999999999999999999999999999", time.Time{}, false},
    		{"0.123456789abcdef", time.Time{}, false},
    		{"foo", time.Time{}, false},
    		{"\x00", time.Time{}, false},
    		{"đŸĩ𝟴đŸŗ𝟲𝟱.đŸ°đŸ¯đŸŽđŸ­đŸŦ", time.Time{}, false}, // Unicode numbers (U+1D7EC to U+1D7F5)
    		{"98765īš’43210", time.Time{}, false}, // Unicode period (U+FE52)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  7. src/crypto/tls/handshake_test.go

    	defer l.Close()
    	go localServer(l)
    
    	if err := checkOpenSSLVersion(); err != nil {
    		fmt.Fprintf(os.Stderr, "Error: %v", err)
    		os.Exit(1)
    	}
    
    	testConfig = &Config{
    		Time:               func() time.Time { return time.Unix(0, 0) },
    		Rand:               zeroSource{},
    		Certificates:       make([]Certificate, 2),
    		InsecureSkipVerify: true,
    		CipherSuites:       allCipherSuites(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/commands.go

    				// open the input file. This needs to be done even if we're
    				// waiting for the visualizer as it can be just a wrapper that
    				// spawns a browser tab and returns right away.
    				defer func(t <-chan time.Time) {
    					<-t
    				}(time.After(time.Second))
    				// On interactive mode, let the visualizer run in the background
    				// so other commands can be issued.
    				if !interactiveMode {
    					return viewer.Wait()
    				}
    				return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/action.go

    	BuildID    string    `json:",omitempty"`
    	TimeReady  time.Time `json:",omitempty"`
    	TimeStart  time.Time `json:",omitempty"`
    	TimeDone   time.Time `json:",omitempty"`
    
    	Cmd     []string      // `json:",omitempty"`
    	CmdReal time.Duration `json:",omitempty"`
    	CmdUser time.Duration `json:",omitempty"`
    	CmdSys  time.Duration `json:",omitempty"`
    }
    
    // cacheKey is the key for the action cache.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  10. src/cmd/distpack/pack.go

    			continue
    		}
    		switch f[0] {
    		default:
    			log.Fatalf("VERSION: unexpected line: %s", line)
    		case "time":
    			if len(f) != 2 {
    				log.Fatalf("VERSION: unexpected time line: %s", line)
    			}
    			t, err = time.ParseInLocation(time.RFC3339, f[1], time.UTC)
    			if err != nil {
    				log.Fatalf("VERSION: bad time: %s", err)
    			}
    		}
    	}
    	return version, t
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top