Format all C++ and Java code via clang-format

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-08-17 14:32:37 +07:00
parent 9f0290c0ec
commit bfffa1fff4
2169 changed files with 56441 additions and 64188 deletions

View File

@@ -21,10 +21,7 @@ template <typename Key, typename Value>
class FifoCacheTest
{
public:
FifoCacheTest(size_t capacity, typename FifoCache<Key, Value>::Loader const & loader)
: m_cache(capacity, loader)
{
}
FifoCacheTest(size_t capacity, typename FifoCache<Key, Value>::Loader const & loader) : m_cache(capacity, loader) {}
Value const & GetValue(Key const & key) { return m_cache.GetValue(key); }
unordered_map<Key, Value> const & GetMap() const { return m_cache.m_map; }
@@ -93,7 +90,8 @@ UNIT_TEST(FifoCache_LoaderCalls)
using Key = int;
using Value = int;
bool shouldLoadBeCalled = true;
auto loader = [&shouldLoadBeCalled](Key k, Value & v) {
auto loader = [&shouldLoadBeCalled](Key k, Value & v)
{
TEST(shouldLoadBeCalled, ());
v = k;
};