- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 417 for ts (0.25 sec)
-
src/cmd/vendor/golang.org/x/sys/unix/syscall_bsd.go
tv := [2]Timeval{ NsecToTimeval(TimespecToNsec(ts[0])), NsecToTimeval(TimespecToNsec(ts[1])), } return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0]))) } func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error { if ts == nil { return utimensat(dirfd, path, nil, flags) } if len(ts) != 2 { return EINVAL }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 21:28:33 UTC 2023 - 15K 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) -
staging/src/k8s.io/apimachinery/pkg/util/proxy/dial_test.go
ExpectProto: "http/1.1", }, } for k, tc := range testcases { func() { ts := httptest.NewUnstartedServer(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {})) defer ts.Close() ts.TLS = &tls.Config{Certificates: []tls.Certificate{cert}, NextProtos: []string{"http2", "http/1.1"}} ts.StartTLS() // Make a copy of the config tlsConfigCopy := tc.TLSConfig.Clone()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:33:38 UTC 2023 - 8.4K bytes - Viewed (0) -
src/unicode/utf8/utf8_test.go
func TestRuntimeConversion(t *testing.T) { for _, ts := range testStrings { count := RuneCountInString(ts) if n := runtimeRuneCount(ts); n != count { t.Errorf("%q: len([]rune()) counted %d runes; got %d from RuneCountInString", ts, n, count) break } runes := []rune(ts) if n := len(runes); n != count { t.Errorf("%q: []rune() has length %d; got %d from RuneCountInString", ts, n, count) break } i := 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 06:17:15 UTC 2022 - 16.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/debug/gosym/symtab.go
t.Syms = make([]Sym, 0, n) nf := 0 nz := 0 lasttyp := uint8(0) err = walksymtab(symtab, func(s sym) error { n := len(t.Syms) t.Syms = t.Syms[0 : n+1] ts := &t.Syms[n] ts.Type = s.typ ts.Value = s.value ts.GoType = s.gotype ts.goVersion = pcln.version switch s.typ { default: // rewrite name to use . instead of ยท (c2 b7) w := 0 b := s.name for i := 0; i < len(b); i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 17.9K bytes - Viewed (0) -
src/runtime/defs_openbsd_arm.go
ss_size uintptr ss_flags int32 } type timespec struct { tv_sec int64 tv_nsec int32 pad_cgo_0 [4]byte } //go:nosplit func (ts *timespec) setNsec(ns int64) { ts.tv_sec = int64(timediv(ns, 1e9, &ts.tv_nsec)) } type timeval struct { tv_sec int64 tv_usec int32 pad_cgo_0 [4]byte } func (tv *timeval) set_usec(x int32) { tv.tv_usec = x }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 17:31:23 UTC 2023 - 3K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/main4.c
die("kill"); } if (verbose) { fprintf(stderr, "waiting for sigioSeen\n"); } // Wait until the signal has been delivered. i = 0; while (!sigioSeen) { ts.tv_sec = 0; ts.tv_nsec = 1000000; nanosleep(&ts, NULL); i++; if (i > 5000) { fprintf(stderr, "looping too long waiting for signal\n"); exit(EXIT_FAILURE); } } if (verbose) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:19:50 UTC 2023 - 4.2K 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/apimachinery/pkg/util/proxy/upgradeaware_test.go
if err != nil { t.Errorf("https (invalid hostname): proxy_test: %v", err) } ts := httptest.NewUnstartedServer(h) ts.TLS = &tls.Config{ Certificates: []tls.Certificate{cert}, NextProtos: []string{"http2", "http/1.1"}, } ts.StartTLS() return ts }, ProxyTransport: utilnet.SetTransportDefaults(&http.Transport{TLSClientConfig: &tls.Config{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 39.4K bytes - Viewed (0)