- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 83 for ts (0.04 sec)
-
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) -
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) -
src/net/http/responsecontroller_test.go
w.Write([]byte("one")) if err := ctl.Flush(); err != nil { t.Errorf("ctl.Flush() = %v, want nil", err) return } <-continuec w.Write([]byte("two")) })) res, err := cst.c.Get(cst.ts.URL) if err != nil { t.Fatalf("unexpected connection error: %v", err) } defer res.Body.Close() buf := make([]byte, 16) n, err := res.Body.Read(buf) close(continuec)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 19:20:31 UTC 2024 - 10.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc
// does the same thing for `Ts`. template <typename T, typename... Ts> void DuplicateShapeDeterminingConstants(func::FuncOp func_op) { for (auto op : func_op.getOps<typename T::OpType>()) { RecursivelyDuplicateConstantsForOperands( GetOperands(*op, T::OperandIndices())); } // Do the same thing for the rest of `Ts`. if constexpr (sizeof...(Ts) != 0) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 17.5K bytes - Viewed (0) -
src/runtime/netpoll_solaris.go
if portfd == -1 { return gList{}, 0 } var wait *timespec var ts timespec if delay < 0 { wait = nil } else if delay == 0 { wait = &ts } else { ts.setNsec(delay) if ts.tv_sec > 1e6 { // An arbitrary cap on how long to wait for a timer. // 1e6 s == ~11.5 days. ts.tv_sec = 1e6 } wait = &ts } var events [128]portevent retry: var n uint32 = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 11.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating/plugin_test.go
func TestValidateWebhookDuration(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 - 11.9K bytes - Viewed (0)