1 2/* 3 * Copyright (C) Igor Sysoev 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#include <nxt_main.h> 8#include "nxt_tests.h" 9 10 11static const nxt_msec_t pairs[] = { 12 13 0x00000000, 0x00000001,
| 1 2/* 3 * Copyright (C) Igor Sysoev 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#include <nxt_main.h> 8#include "nxt_tests.h" 9 10 11static const nxt_msec_t pairs[] = { 12 13 0x00000000, 0x00000001,
|
14 0x00000000, 0x7fffffff,
| 14 0x00000000, 0x7FFFFFFF,
|
15
| 15
|
16 0x7fffffff, 0x80000000, 17 0x7fffffff, 0x80000001,
| 16 0x7FFFFFFF, 0x80000000, 17 0x7FFFFFFF, 0x80000001,
|
18 19 0x80000000, 0x80000001,
| 18 19 0x80000000, 0x80000001,
|
20 0x80000000, 0xffffffff,
| 20 0x80000000, 0xFFFFFFFF,
|
21
| 21
|
22 0xffffffff, 0x00000000, 23 0xffffffff, 0x00000001,
| 22 0xFFFFFFFF, 0x00000000, 23 0xFFFFFFFF, 0x00000001,
|
24}; 25 26 27nxt_int_t 28nxt_msec_diff_test(nxt_thread_t *thr, nxt_msec_less_t less) 29{ 30 nxt_uint_t i; 31
--- 15 unchanged lines hidden --- | 24}; 25 26 27nxt_int_t 28nxt_msec_diff_test(nxt_thread_t *thr, nxt_msec_less_t less) 29{ 30 nxt_uint_t i; 31
--- 15 unchanged lines hidden --- |