Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. src/net/http/h2_bundle.go

    }
    
    // A timer is a time.Timer, as an interface which can be replaced in tests.
    type http2timer = interface {
    	C() <-chan time.Time
    	Reset(d time.Duration) bool
    	Stop() bool
    }
    
    // timeTimer adapts a time.Timer to the timer interface.
    type http2timeTimer struct {
    	*time.Timer
    }
    
    func (t http2timeTimer) C() <-chan time.Time { return t.Timer.C }
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top