mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-24 08:03:32 +03:00
parent
c4c2592c83
commit
f408643a4c
104 changed files with 1161 additions and 1168 deletions
|
|
@ -11,7 +11,7 @@ static bool monotonic_mock;
|
|||
|
||||
static bool
|
||||
nstime_monotonic_mock(void) {
|
||||
return (monotonic_mock);
|
||||
return monotonic_mock;
|
||||
}
|
||||
|
||||
static bool
|
||||
|
|
@ -20,7 +20,7 @@ nstime_update_mock(nstime_t *time) {
|
|||
if (monotonic_mock) {
|
||||
nstime_copy(time, &time_mock);
|
||||
}
|
||||
return (!monotonic_mock);
|
||||
return !monotonic_mock;
|
||||
}
|
||||
|
||||
TEST_BEGIN(test_decay_ticks) {
|
||||
|
|
@ -352,8 +352,8 @@ TEST_END
|
|||
|
||||
int
|
||||
main(void) {
|
||||
return (test(
|
||||
return test(
|
||||
test_decay_ticks,
|
||||
test_decay_ticker,
|
||||
test_decay_nonmonotonic));
|
||||
test_decay_nonmonotonic);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue