Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for timeTimer (0.19 sec)

  1. src/runtime/time.go

    func resetForSleep(gp *g, _ unsafe.Pointer) bool {
    	gp.timer.reset(gp.sleepWhen, 0)
    	return true
    }
    
    // A timeTimer is a runtime-allocated time.Timer or time.Ticker
    // with the additional runtime state following it.
    // The runtime state is inaccessible to package time.
    type timeTimer struct {
    	c    unsafe.Pointer // <-chan time.Time
    	init bool
    	timer
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  2. src/runtime/export_test.go

    const TracebackInnerFrames = tracebackInnerFrames
    const TracebackOuterFrames = tracebackOuterFrames
    
    var MapKeys = keys
    var MapValues = values
    
    var LockPartialOrder = lockPartialOrder
    
    type TimeTimer = timeTimer
    
    type LockRank lockRank
    
    func (l LockRank) String() string {
    	return lockRank(l).String()
    }
    
    const PreemptMSupported = preemptMSupported
    
    type LFNode struct {
    	Next    uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  3. src/log/slog/value.go

    }
    
    type (
    	// Unexported version of *time.Location, just so we can store *time.Locations in
    	// Values. (No user-provided value has this type.)
    	timeLocation *time.Location
    
    	// timeTime is for times where UnixNano is undefined.
    	timeTime time.Time
    )
    
    // TimeValue returns a [Value] for a [time.Time].
    // It discards the monotonic portion.
    func TimeValue(v time.Time) Value {
    	if v.IsZero() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top