Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 400 for ts (0.06 sec)

  1. src/runtime/defs1_netbsd_amd64.go

    	ss_sp     uintptr
    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    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: Fri Apr 12 21:17:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/runtime/defs_openbsd_amd64.go

    	ss_sp     uintptr
    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 17:31:23 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/runtime/defs_openbsd_386.go

    type stackt struct {
    	ss_sp    uintptr
    	ss_size  uintptr
    	ss_flags int32
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int32
    }
    
    //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
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = x
    }
    
    type itimerval struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 17:31:23 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. src/runtime/defs_openbsd_riscv64.go

    	ss_sp     uintptr
    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 17:31:23 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. src/runtime/tracebuf.go

    			if w.traceBuf == nil {
    				throw("trace: out of memory")
    			}
    		}
    	})
    	// Initialize the buffer.
    	ts := traceClockNow()
    	if ts <= w.traceBuf.lastTime {
    		ts = w.traceBuf.lastTime + 1
    	}
    	w.traceBuf.lastTime = ts
    	w.traceBuf.link = nil
    	w.traceBuf.pos = 0
    
    	// Tolerate a nil mp.
    	mID := ^uint64(0)
    	if w.mp != nil {
    		mID = uint64(w.mp.procid)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  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/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)
Back to top