Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 207 for ts (0.04 sec)

  1. src/runtime/tracebuf.go

    			if w.traceBuf == nil {
    				throw("trace: out of memory")
    			}
    		}
    	})
    	// Initialize the buffer.
    	ts := traceClockNow()
    	if ts <= w.traceBuf.lastTime {
    		ts = w.traceBuf.lastTime + 1
    	}
    	w.traceBuf.lastTime = ts
    	w.traceBuf.link = nil
    	w.traceBuf.pos = 0
    
    	// Tolerate a nil mp.
    	mID := ^uint64(0)
    	if w.mp != nil {
    		mID = uint64(w.mp.procid)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. src/internal/trace/oldtrace.go

    		// Event.Task expects the parent and name to be smuggled in extra args
    		// and as extra strings.
    		ts, ok := it.tasks[TaskID(ev.Args[0])]
    		if ok {
    			delete(it.tasks, TaskID(ev.Args[0]))
    			mappedArgs = timedEventArgs{
    				ev.Args[0],
    				ev.Args[1],
    				uint64(ts.parentID),
    				uint64(it.evt.addExtraString(ts.name)),
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. src/cmd/trace/gen.go

    	}
    
    	// Emit the task slice and notify the emitter of the task.
    	ctx.Task(uint64(task.ID), fmt.Sprintf("T%d %s", task.ID, task.Name), sortIndex)
    	ctx.TaskSlice(traceviewer.SliceEvent{
    		Name:     task.Name,
    		Ts:       ctx.elapsed(startTime),
    		Dur:      endTime.Sub(startTime),
    		Resource: uint64(task.ID),
    		Stack:    ctx.Stack(viewerFrames(startStack)),
    		EndStack: ctx.Stack(viewerFrames(endStack)),
    		Arg:      arg,
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. src/time/format_test.go

    		{math.MaxInt64, math.MaxInt64}, // -292277022365-05-08T08:17:07Z
    	} {
    		f.Add(ts[0], ts[1], true, false, 0)
    		f.Add(ts[0], ts[1], false, true, 0)
    		for _, offset := range []int{0, 60, 60 * 60, 99*60*60 + 99*60, 123456789} {
    			f.Add(ts[0], ts[1], false, false, -offset)
    			f.Add(ts[0], ts[1], false, false, +offset)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/README.md

    This repository uses [eslint](https://eslint.org/) to format TS files,
    [stylelint](https://stylelint.io/) to format CSS files, and
    [prettier](https://prettier.io/) to format TS, CSS, Markdown, and YAML files.
    
    See the style guides:
    
    - [TypeScript](https://google.github.io/styleguide/tsguide.html)
    - [CSS](https://go.dev/wiki/CSSStyleGuide)
    
    It is encouraged that all TS and CSS code be run through formatters before
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/runtime/defs1_netbsd_arm64.go

    }
    
    type stackt struct {
    	ss_sp    uintptr
    	ss_size  uintptr
    	ss_flags int32
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int32
    	_       [4]byte // EABI
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = x
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/syscall/syscall_wasip1.go

    func Umask(mask int) int {
    	return 0
    }
    
    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    func (ts *Timespec) timestamp() timestamp {
    	return timestamp(ts.Sec*1e9) + timestamp(ts.Nsec)
    }
    
    func (ts *Timespec) setTimestamp(t timestamp) {
    	ts.Sec = int64(t / 1e9)
    	ts.Nsec = int64(t % 1e9)
    }
    
    type Timeval struct {
    	Sec  int64
    	Usec int64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/plugin_test.go

    func TestWebhookDuration(ts *testing.T) {
    	clk := clocktesting.FakeClock{}
    	testServer := webhooktesting.NewTestServerWithHandler(ts, webhooktesting.ClockSteppingWebhookHandler(ts, &clk))
    	testServer.StartTLS()
    	defer testServer.Close()
    	serverURL, err := url.ParseRequestURI(testServer.URL)
    	if err != nil {
    		ts.Fatalf("this should never happen? %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/runtime/defs_darwin_arm64.go

    }
    
    type itimerval struct {
    	it_interval timeval
    	it_value    timeval
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type exceptionstate64 struct {
    	far uint64 // virtual fault addr
    	esr uint32 // exception syndrome
    	exc uint32 // number of arm exception taken
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. cmd/data-usage-utils.go

    	if dui.TierStats == nil {
    		return nil
    	}
    
    	if globalTierConfigMgr.Empty() {
    		return nil
    	}
    
    	ts := make(map[string]madmin.TierStats)
    	dui.TierStats.populateStats(ts)
    
    	infos := make([]madmin.TierInfo, 0, len(ts))
    	for tier, stats := range ts {
    		infos = append(infos, madmin.TierInfo{
    			Name:  tier,
    			Type:  globalTierConfigMgr.TierType(tier),
    			Stats: stats,
    		})
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top