From c60d8f002f4ed6e613fbfe8013687cfaa4470ba9 Mon Sep 17 00:00:00 2001 From: github action Date: Tue, 21 Apr 2026 12:22:33 +0000 Subject: [PATCH] Apply 'make format' --- src/VlcTop.cpp | 6 ++++-- test_regress/t/t_vlcov_summary_typed.py | 0 2 files changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 test_regress/t/t_vlcov_summary_typed.py diff --git a/src/VlcTop.cpp b/src/VlcTop.cpp index 708aa68ca..5c0876f16 100644 --- a/src/VlcTop.cpp +++ b/src/VlcTop.cpp @@ -366,7 +366,8 @@ void VlcTop::printTypeSummary() { printed.insert(type); const uint64_t hit = it->second.first; const uint64_t total = it->second.second; - const double pct = total ? (100.0 * static_cast(hit) / static_cast(total)) : 0.0; + const double pct + = total ? (100.0 * static_cast(hit) / static_cast(total)) : 0.0; std::cout << " " << std::left << std::setw(typeWidth) << type << " : " << std::right << std::fixed << std::setprecision(1) << pct << "% (" << std::setw(countWidth) << hit << "/" << std::setw(countWidth) << total << ")\n"; @@ -375,7 +376,8 @@ void VlcTop::printTypeSummary() { if (printed.count(it.first)) continue; const uint64_t hit = it.second.first; const uint64_t total = it.second.second; - const double pct = total ? (100.0 * static_cast(hit) / static_cast(total)) : 0.0; + const double pct + = total ? (100.0 * static_cast(hit) / static_cast(total)) : 0.0; std::cout << " " << std::left << std::setw(typeWidth) << it.first << " : " << std::right << std::fixed << std::setprecision(1) << pct << "% (" << std::setw(countWidth) << hit << "/" << std::setw(countWidth) << total << ")\n"; diff --git a/test_regress/t/t_vlcov_summary_typed.py b/test_regress/t/t_vlcov_summary_typed.py old mode 100644 new mode 100755