<commit_before>/*
* Number Theory Functions
* (C) 1999-2009 <NAME>
*
* Distributed under the terms of the Botan license
*/

#include <botan/numthry.h>
#include <botan/bit_ops.h>
#include <algorithm>

namespace Botan {

namespace {

/*
* Miller-Rabin Iterations
*/
u32bit miller_rabin_test_iterations(u32bit bits, bool verify)
   {
   struct mapping { u32bit bits; u32bit verify_iter; u32bit check_iter; };

   static const mapping tests[] = {
      {   50, 55, 25 },
      {  100, 38, 22 },
      {  160, 32, 18 },
      {  163, 31, 17 },
      {  168, 30, 16 },<commit_msg>Make `struct mapping tests[]` non-static in miller_rabin_test_iterations to work around gcc bug 42010<commit_after>/*
* Number Theory Functions
* (C) 1999-2009 <NAME>
*
* Distributed under the terms of the Botan license
*/

#include <botan/numthry.h>
#include <botan/bit_ops.h>
#include <algorithm>

namespace Botan {

namespace {

/*
* Miller-Rabin Iterations
*/
u32bit miller_rabin_test_iterations(u32bit bits, bool verify)
   {
   struct mapping { u32bit bits; u32bit verify_iter; u32bit check_iter; };

   const mapping tests[] = {
      {   50, 55, 25 },
      {  100, 38, 22 },
      {  160, 32, 18 },
      {  163, 31, 17 },
      {  168, 30, 16 },
{'fraction_non_alphanumeric': 0.1277461350691619, 'fraction_numerical': 0.0886899918633035, 'mean_word_length': 3.1414141414141414, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2211375', 'n_tokens_mistral': 534, 'n_tokens_neox': 438, 'n_words': 127}