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

@@ -31,9 +31,9 @@ UNIT_TEST(VertexBuffer_Benchmark)
using ValueT = gpu::TextOutlinedStaticVertex;
// using ValueT = gpu::TextDynamicVertex
ValueT objs[] = {
{{1, 1}, {2, 2}, {3, 3}},
{{4, 4}, {5, 5}, {6, 6}},
{{7, 7}, {8, 8}, {9, 9}},
{{1, 1}, {2, 2}, {3, 3}},
{{4, 4}, {5, 5}, {6, 6}},
{{7, 7}, {8, 8}, {9, 9}},
};
// Very comfortable for buffer_vector<ValueT, kUpperBound>.
@@ -86,12 +86,12 @@ UNIT_TEST(VertexBuffer_Benchmark)
t4 = timer.ElapsedMilliseconds();
}
LOG(LINFO, ("vector time:", t1, "buffer_vector time:", t2,
"boost::small_vector time:", t3, "reserved vector time:", t4));
LOG(LINFO,
("vector time:", t1, "buffer_vector time:", t2, "boost::small_vector time:", t3, "reserved vector time:", t4));
TEST_LESS(t2, t1, ());
TEST_LESS(t3, t2, ());
// TODO: Fix this condition
//TEST_LESS(t4, t3, ());
// TEST_LESS(t4, t3, ());
}
#endif
} // namespace vertex_buffer_tests
} // namespace vertex_buffer_tests