Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for ts (0.02 sec)

  1. src/cmd/trace/gstate.go

    func (gs *gState[R]) blockedSyscallEnd(ts trace.Time, stack trace.Stack, ctx *traceContext) {
    	name := "exit blocked syscall"
    	gs.setStartCause(ts, name, trace.SyscallP, stack)
    
    	// Emit an syscall exit instant event for the "Syscall" lane.
    	ctx.Instant(traceviewer.InstantEvent{
    		Name:     name,
    		Ts:       ctx.elapsed(ts),
    		Resource: trace.SyscallP,
    		Stack:    ctx.Stack(viewerFrames(stack)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. src/net/http/clientserver_test.go

    	}
    
    	switch mode {
    	case http1Mode:
    		cst.ts.Start()
    	case https1Mode:
    		cst.ts.StartTLS()
    	case http2Mode:
    		ExportHttp2ConfigureServer(cst.ts.Config, nil)
    		cst.ts.TLS = cst.ts.Config.TLSConfig
    		cst.ts.StartTLS()
    	default:
    		t.Fatalf("unknown test mode %v", mode)
    	}
    	cst.c = cst.ts.Client()
    	cst.tr = cst.c.Transport.(*Transport)
    	if mode == http2Mode {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/generate-clients.md

    #### Install `openapi-ts`
    
    You can install `openapi-ts` in your frontend code with:
    
    <div class="termy">
    
    ```console
    $ npm install @hey-api/openapi-ts --save-dev
    
    ---> 100%
    ```
    
    </div>
    
    #### Generate Client Code
    
    To generate the client code you can use the command line application `openapi-ts` that would now be installed.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. pkg/wasm/cache_test.go

    	ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		if gotNumRequest <= 1 {
    			w.Write(binary1)
    		} else {
    			w.Write(binary2)
    		}
    		gotNumRequest++
    	}))
    	defer ts.Close()
    	url1 := ts.URL
    	url2 := ts.URL + "/next"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. cmd/metrics-resource.go

    		}
    		if hm.CPU != nil {
    			labels := map[string]string{}
    			ts := hm.CPU.TimesStat
    			if ts != nil {
    				tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    				cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    				updateResourceMetrics(cpuSubsystem, cpuUser, cpuUserVal, labels, false)
    				cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. src/internal/trace/internal/oldtrace/parser.go

    		case EvGoSysBlock, EvGoInSyscall:
    			lastSysBlock[ev.G] = ev.Ts
    		case EvGoSysExit:
    			ts := Timestamp(ev.Args[2])
    			if ts == 0 {
    				continue
    			}
    			block := lastSysBlock[ev.G]
    			if block == 0 {
    				return Events{}, fmt.Errorf("stray syscall exit")
    			}
    			if ts < block {
    				return Events{}, ErrTimeOrder
    			}
    			ev.Ts = ts
    		}
    	}
    	sort.Stable(&events)
    
    	return events, nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go

    )
    
    func TestSchemaDeclType(t *testing.T) {
    	ts := testSchema()
    	cust := SchemaDeclType(ts, false)
    	if cust.TypeName() != "object" {
    		t.Errorf("incorrect type name, got %v, wanted object", cust.TypeName())
    	}
    	if len(cust.Fields) != 4 {
    		t.Errorf("incorrect number of fields, got %d, wanted 4", len(cust.Fields))
    	}
    	for _, f := range cust.Fields {
    		prop, found := ts.Properties[f.Name]
    		if !found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top