mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-30 23:18:04 +03:00
Reformat the codebase with the clang-format 18.
This commit is contained in:
parent
0a6215c171
commit
f1bba4a87c
346 changed files with 18286 additions and 17770 deletions
|
|
@ -4,11 +4,10 @@
|
|||
|
||||
TEST_BEGIN(test_peak) {
|
||||
peak_t peak = PEAK_INITIALIZER;
|
||||
expect_u64_eq(0, peak_max(&peak),
|
||||
"Peak should be zero at initialization");
|
||||
expect_u64_eq(
|
||||
0, peak_max(&peak), "Peak should be zero at initialization");
|
||||
peak_update(&peak, 100, 50);
|
||||
expect_u64_eq(50, peak_max(&peak),
|
||||
"Missed update");
|
||||
expect_u64_eq(50, peak_max(&peak), "Missed update");
|
||||
peak_update(&peak, 100, 100);
|
||||
expect_u64_eq(50, peak_max(&peak), "Dallocs shouldn't change peak");
|
||||
peak_update(&peak, 100, 200);
|
||||
|
|
@ -42,6 +41,5 @@ TEST_END
|
|||
|
||||
int
|
||||
main(void) {
|
||||
return test_no_reentrancy(
|
||||
test_peak);
|
||||
return test_no_reentrancy(test_peak);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue