mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-25 10:07:36 +03:00
Reformat the codebase with the clang-format 18.
This commit is contained in:
parent
a952a3b8b0
commit
6200e8987f
346 changed files with 18286 additions and 17770 deletions
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
void
|
||||
sleep_ns(unsigned ns) {
|
||||
assert(ns <= 1000*1000*1000);
|
||||
assert(ns <= 1000 * 1000 * 1000);
|
||||
|
||||
#ifdef _WIN32
|
||||
Sleep(ns / 1000 / 1000);
|
||||
|
|
@ -14,7 +14,7 @@ sleep_ns(unsigned ns) {
|
|||
{
|
||||
struct timespec timeout;
|
||||
|
||||
if (ns < 1000*1000*1000) {
|
||||
if (ns < 1000 * 1000 * 1000) {
|
||||
timeout.tv_sec = 0;
|
||||
timeout.tv_nsec = ns;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue