mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 05:33:06 +00:00
Reformat the codebase with the clang-format 18.
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
|
||||
static void
|
||||
do_print(const char *name, size_t sz_bytes) {
|
||||
const char *sizes[] = {"bytes", "KB", "MB", "GB", "TB", "PB", "EB",
|
||||
"ZB"};
|
||||
size_t sizes_max = sizeof(sizes)/sizeof(sizes[0]);
|
||||
const char *sizes[] = {
|
||||
"bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB"};
|
||||
size_t sizes_max = sizeof(sizes) / sizeof(sizes[0]);
|
||||
|
||||
size_t ind = 0;
|
||||
double sz = sz_bytes;
|
||||
@@ -30,8 +30,7 @@ do_print(const char *name, size_t sz_bytes) {
|
||||
|
||||
int
|
||||
main(void) {
|
||||
#define P(type) \
|
||||
do_print(#type, sizeof(type))
|
||||
#define P(type) do_print(#type, sizeof(type))
|
||||
P(arena_t);
|
||||
P(arena_stats_t);
|
||||
P(base_t);
|
||||
|
||||
Reference in New Issue
Block a user