Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for timeTimer (0.16 sec)

  1. src/runtime/time_test.go

    	}
    	return frames, nil
    }
    
    func TestTimeTimerType(t *testing.T) {
    	// runtime.timeTimer (exported for testing as TimeTimer)
    	// must have time.Timer and time.Ticker as a prefix
    	// (meaning those two must have the same layout).
    	runtimeTimeTimer := reflect.TypeOf(runtime.TimeTimer{})
    
    	check := func(name string, typ reflect.Type) {
    		n1 := runtimeTimeTimer.NumField()
    		n2 := typ.NumField()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 03:40:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top