Home
last modified time | relevance | path

Searched refs:trend (Results 1 – 1 of 1) sorted by relevance

/xnu-11215/osfmk/tests/
H A Dkernel_tests.c573 int window_start, window_end, trend; in RandomULong_test() local
574 window_start = window_end = trend = 0; in RandomULong_test()
585 trend = 0; in RandomULong_test()
588 trend++; in RandomULong_test()
590 trend--; in RandomULong_test()
597 if (trend < 0) { in RandomULong_test()
598 trend = -trend; in RandomULong_test()
600 if (trend > CONF_WINDOW_TREND_LIMIT) { in RandomULong_test()
601 …T_ASSERT_LE_INT(trend, CONF_WINDOW_TREND_LIMIT, "Found increasing/decreasing trend in random numbe… in RandomULong_test()