Running clang-format on two files

This commit is contained in:
Slobodan Predolac
2025-09-30 07:13:12 -07:00
committed by Guangli Dai
parent 2688047b56
commit ace437d26a
2 changed files with 31 additions and 32 deletions

View File

@@ -172,8 +172,7 @@ unsigned ncpus;
unsigned opt_debug_double_free_max_scan =
SAFETY_CHECK_DOUBLE_FREE_MAX_SCAN_DEFAULT;
size_t opt_calloc_madvise_threshold =
CALLOC_MADVISE_THRESHOLD_DEFAULT;
size_t opt_calloc_madvise_threshold = CALLOC_MADVISE_THRESHOLD_DEFAULT;
/* Protects arenas initialization. */
static malloc_mutex_t arenas_lock;
@@ -261,8 +260,8 @@ _init_init_lock(void) {
# ifdef _MSC_VER
# pragma section(".CRT$XCU", read)
JEMALLOC_SECTION(".CRT$XCU")
JEMALLOC_ATTR(used) static const
void(WINAPI *init_init_lock)(void) = _init_init_lock;
JEMALLOC_ATTR(used)
static const void(WINAPI *init_init_lock)(void) = _init_init_lock;
# endif
# endif
#else

View File

@@ -666,8 +666,8 @@ pages_purge_process_madvise_impl(
if (errno == EPERM || errno == EINVAL || errno == ENOSYS
|| errno == EBADF) {
/* Process madvise not supported the way we need it. */
atomic_store_b(&process_madvise_gate, false,
ATOMIC_RELAXED);
atomic_store_b(
&process_madvise_gate, false, ATOMIC_RELAXED);
}
set_errno(saved_errno);
}