MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / PadCell

Function PadCell

examples/VulkanBenchmark.cpp:2182–2186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2180}
2181
2182static std::string PadCell(const std::string& value, size_t width) {
2183 if (value.size() >= width)
2184 return value.substr(0, width);
2185 return value + std::string(width - value.size(), ' ');
2186}
2187
2188static void PrintResultTable(const std::vector<BenchmarkResult>& results) {
2189 struct Column { std::string title; size_t width; };

Callers 1

PrintResultTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected