Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestTimeBeginPeriod (0.41 sec)

  1. src/runtime/syscall_windows_test.go

    		uintptr(math.Float32bits(3.3)),
    		uintptr(math.Float64bits(4.4e44)),
    	)
    	dr := math.Float64frombits(uint64(r))
    	if dr != 2.5 {
    		t.Errorf("got %f want 2.5 (err=%v)", dr, err)
    	}
    }
    
    func TestTimeBeginPeriod(t *testing.T) {
    	const TIMERR_NOERROR = 0
    	if *runtime.TimeBeginPeriodRetValue != TIMERR_NOERROR {
    		t.Fatalf("timeBeginPeriod failed: it returned %d", *runtime.TimeBeginPeriodRetValue)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
Back to top