Skip to content

Commit

Permalink
Generated export autocommit from mamba.ru
Browse files Browse the repository at this point in the history
  • Loading branch information
GitLab Runner committed Nov 29, 2024
1 parent 9aa3300 commit 92be446
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .cppcheck/suppressions.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
duplicateExpression:./examples/example6.cpp
constStatement:./examples/example6.cpp
unknownMacro:
invalidPrintfArgType_uint:./tests/numbench.cpp:93
invalidPrintfArgType_uint:./tests/numbench.cpp
4 changes: 4 additions & 0 deletions tests/numbench.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#include <chrono>
#include <cstring>

namespace {

//const size_t NUM_SIZE = 20;
const int ARR_SIZE = 10000000;
typedef char numstr_t[20];
Expand Down Expand Up @@ -202,6 +204,8 @@ void ss_bench()
std::cout << std::endl;
}

}

int main()
{
std::cout << "Int to string and string to int benchmarks." << std::endl << std::endl;
Expand Down

0 comments on commit 92be446

Please sign in to comment.