- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 155 for ts (0.02 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/internal/trace/traceviewer/emitter.go
} func (e *Emitter) HeapAlloc(ts time.Duration, v uint64) { e.heapStats.heapAlloc = v e.emitHeapCounters(ts) } func (e *Emitter) Focus(id uint64) { e.focusResource = id } func (e *Emitter) GoroutineTransition(ts time.Duration, from, to GState) { e.gstates[from]-- e.gstates[to]++ if e.prevGstates == e.gstates { return } if e.tsWithinRange(ts) { e.OptionalEvent(&format.Event{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:29:58 UTC 2023 - 20.4K 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/apimachinery/pkg/labels/selector_test.go
}, }, } for _, ts := range testCases { req, err := NewRequirement(ts.key, ts.operator, ts.values) if err != nil { t.Errorf("%s - Unable to create labels.Requirement", ts.name) } ts.sel = ts.sel.Add(*req) if !reflect.DeepEqual(ts.sel, ts.refSelector) { t.Errorf("%s - Expected %v found %v", ts.name, ts.refSelector, ts.sel) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 14 16:39:04 UTC 2022 - 29.9K 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) -
src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go
} // collapsedTags trims and sorts a slice of tags. func (b *builder) collapsedTags(ts []*Tag, count int, flatTags bool) []*Tag { ts = SortTags(ts, flatTags) if len(ts) <= count { return ts } tagGroups := make([][]*Tag, count) for i, t := range (ts)[:count] { tagGroups[i] = []*Tag{t} } for _, t := range (ts)[count:] { g, d := 0, tagDistance(t, tagGroups[0][0]) for i := 1; i < count; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 09 20:51:42 UTC 2022 - 14.8K 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) -
subprojects/core/src/main/java/org/gradle/api/internal/CompositeDomainObjectSet.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 10.4K bytes - Viewed (0)