- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 83 for ts (0.04 sec)
-
src/runtime/time.go
} // deleteMin removes timer 0 from ts. // ts must be locked. func (ts *timers) deleteMin() { assertLockHeld(&ts.mu) t := ts.heap[0].timer if t.ts != ts { throw("wrong timers") } t.ts = nil last := len(ts.heap) - 1 if last > 0 { ts.heap[0] = ts.heap[last] } ts.heap[last] = timerWhen{} ts.heap = ts.heap[:last] if last > 0 { ts.siftDown(0) } ts.updateMinWhenHeap()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 14:36:24 UTC 2024 - 37.5K bytes - Viewed (0) -
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) -
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) -
staging/src/k8s.io/apiserver/pkg/server/filters/timeout_test.go
} // test server ts := httptest.NewUnstartedServer(WithPanicRecovery(handler, resolver)) tsCert, err := tls.X509KeyPair(tsCrt, tsKey) if err != nil { t.Fatalf("backend: invalid x509/key pair: %v", err) } ts.TLS = &tls.Config{ Certificates: []tls.Certificate{tsCert}, NextProtos: []string{http2.NextProtoTLS}, } ts.StartTLS() defer ts.Close()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 18.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go
// triState implements flag.Value, flag.Getter, and flag.boolFlag. // They work like boolean flags: we can say vet -printf as well as vet -printf=true func (ts *triState) Get() interface{} { return *ts == setTrue } func (ts triState) isTrue() bool { return ts == setTrue } func (ts *triState) Set(value string) error { b, err := strconv.ParseBool(value) if err != nil { // This error message looks poor but package "flag" adds
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 12.1K bytes - Viewed (0) -
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) -
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) -
docs/de/docs/advanced/generate-clients.md
#### `openapi-ts` installieren Sie können `openapi-ts` in Ihrem Frontend-Code installieren mit: <div class="termy"> ```console $ npm install @hey-api/openapi-ts --save-dev ---> 100% ``` </div> #### Client-Code generieren Um den Client-Code zu generieren, können Sie das Kommandozeilentool `openapi-ts` verwenden, das soeben installiert wurde.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Apr 03 03:42:11 UTC 2024 - 12K bytes - Viewed (0) -
src/runtime/os3_solaris.go
} const ( _CLOCK_REALTIME = 3 _CLOCK_MONOTONIC = 4 ) //go:nosplit func nanotime1() int64 { var ts mts sysvicall2(&libc_clock_gettime, _CLOCK_MONOTONIC, uintptr(unsafe.Pointer(&ts))) return ts.tv_sec*1e9 + ts.tv_nsec } //go:nosplit func open(path *byte, mode, perm int32) int32 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 17.6K bytes - Viewed (0) -
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)