Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,524 for tims (0.05 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/upload/date.go

    	parsed, err := u.parseCountFile(fname)
    	if err != nil {
    		return time.Time{}, time.Time{}, err
    	}
    	timeBegin, ok := parsed.Meta["TimeBegin"]
    	if !ok {
    		return time.Time{}, time.Time{}, fmt.Errorf("missing counter metadata for TimeBegin")
    	}
    	begin, err = time.Parse(time.RFC3339, timeBegin)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/time/zoneinfo_read.go

    	// are specified as standard time or wall time.
    	isstd := d.read(n[NStdWall])
    
    	// Whether tx times associated with local time types
    	// are specified as UTC or local time.
    	isutc := d.read(n[NUTCLocal])
    
    	if d.error { // ran out of data
    		return nil, errBadData
    	}
    
    	var extend string
    	rest := d.rest()
    	if len(rest) > 2 && rest[0] == '\n' && rest[len(rest)-1] == '\n' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. src/testing/internal/testdeps/deps.go

    	log.mu.Lock()
    	log.w = bufio.NewWriter(w)
    	if !log.set {
    		// Tests that define TestMain and then run m.Run multiple times
    		// will call StartTestLog/StopTestLog multiple times.
    		// Checking log.set avoids calling testlog.SetLogger multiple times
    		// (which will panic) and also avoids writing the header multiple times.
    		log.set = true
    		testlog.SetLogger(&log)
    		log.w.WriteString("# test log\n") // known to cmd/go/internal/test/test.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/nettest/conntest.go

    	c1.SetWriteDeadline(time.Now().Add(time.Millisecond))
    	for i := 0; i < 10; i++ {
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    
    			b1 := make([]byte, 1024)
    			b2 := make([]byte, 1024)
    			for j := 0; j < 100; j++ {
    				_, err := c1.Write(b1)
    				copy(b1, b2) // Mutate b1 to trigger potential race
    				if err != nil {
    					checkForTimeoutError(t, err)
    					c1.SetWriteDeadline(time.Now().Add(time.Millisecond))
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. tests/integration/telemetry/api/dashboard_test.go

    	// Spread out over 20s so rate() queries will behave correctly
    	ticker := time.NewTicker(time.Second)
    	times := 0
    	for {
    		select {
    		case <-ticker.C:
    			times++
    			scopes.Framework.Infof("sending traffic %v", times)
    			for _, ing := range ingr {
    				hosts, ports := ing.TCPAddresses()
    				host := hosts[0]
    				port := ports[0]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/testprog/many-start-stop.go

    // license that can be found in the LICENSE file.
    
    // Tests simply starting and stopping tracing multiple times.
    //
    // This is useful for finding bugs in trace state reset.
    
    //go:build ignore
    
    package main
    
    import (
    	"bytes"
    	"log"
    	"os"
    	"runtime"
    	"runtime/trace"
    )
    
    func main() {
    	// Trace a few times.
    	for i := 0; i < 10; i++ {
    		var buf bytes.Buffer
    		if err := trace.Start(&buf); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 786 bytes
    - Viewed (0)
  7. src/log/slog/value.go

    	return math.Float64frombits(v.num)
    }
    
    // Time returns v's value as a [time.Time]. It panics
    // if v is not a time.Time.
    func (v Value) Time() time.Time {
    	if g, w := v.Kind(), KindTime; g != w {
    		panic(fmt.Sprintf("Value kind is %s, not %s", g, w))
    	}
    	return v.time()
    }
    
    // See TimeValue to understand how times are represented.
    func (v Value) time() time.Time {
    	switch a := v.any.(type) {
    	case timeLocation:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/cmd/trace/goroutines.go

    certain special time ranges.
    If a goroutine has spent no time in any special time ranges, it is excluded from
    the table.
    For example, how much time it spent helping the GC. Note that these times do
    overlap with the times from the first table.
    In general the goroutine may not be executing in these special time ranges.
    For example, it may have blocked while trying to help the GC.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. cmd/prepare-storage.go

    		return nil, nil, errInvalidArgument
    	}
    
    	// prepare getElapsedTime() to calculate elapsed time since we started trying formatting disks.
    	// All times are rounded to avoid showing milli, micro and nano seconds
    	formatStartTime := time.Now().Round(time.Second)
    	getElapsedTime := func() string {
    		return time.Now().Round(time.Second).Sub(formatStartTime).String()
    	}
    
    	var (
    		tries   int
    		verbose bool
    	)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. cmd/erasure-common.go

    package cmd
    
    import (
    	"context"
    	"fmt"
    	"io"
    	"math/rand"
    	"sync"
    	"time"
    
    	"github.com/minio/pkg/v3/sync/errgroup"
    )
    
    func (er erasureObjects) getOnlineDisks() (newDisks []StorageAPI) {
    	disks := er.getDisks()
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	for _, i := range r.Perm(len(disks)) {
    		i := i
    		wg.Add(1)
    		go func() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top