mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-25 00:23:33 +03:00
Reformat the codebase with the clang-format 18.
This commit is contained in:
parent
ae4e729d15
commit
34f359e0ca
346 changed files with 18286 additions and 17770 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue