<commit_before>/*
* (C) 2014,2015 <NAME>
*
* Botan is released under the Simplified BSD License (see license.txt)
*/

#ifndef BOTAN_ALGO_REGISTRY_H__
#define BOTAN_ALGO_REGISTRY_H__

#include <botan/types.h>
#include <functional>
#include <stdexcept>
#include <mutex>
#include <vector>
#include <map>
#include <string>
#include <unordered_map>

#if defined(_MSC_VER) && (_MSC_VER <= 1800)

   #define BOTAN_WORKAROUND_GH_321
   #define NOMINMAX 1
   #define WIN32_LEAN_AND_MEAN 1
   #include <Windows.h>

namespace Botan {

class WinCS_Mutex
   {
   public:
       WinCS_Mutex(CRITICAL_SECTION& cs): m_cs(cs)
          {
          InitializeCriticalSection(&m_cs);
          }
          
       ~WinCS_Mutex()
          {<commit_msg>Fixed default ctor for WinCS_Mutex<commit_after>/*
* (C) 2014,2015 <NAME>
*
* Botan is released under the Simplified BSD License (see license.txt)
*/

#ifndef BOTAN_ALGO_REGISTRY_H__
#define BOTAN_ALGO_REGISTRY_H__

#include <botan/types.h>
#include <functional>
#include <stdexcept>
#include <mutex>
#include <vector>
#include <map>
#include <string>
#include <unordered_map>

#if defined(_MSC_VER) && (_MSC_VER <= 1800)

   #define BOTAN_WORKAROUND_GH_321
   #define NOMINMAX 1
   #define WIN32_LEAN_AND_MEAN 1
   #include <Windows.h>

namespace Botan {

class WinCS_Mutex
   {
   public:
       WinCS_Mutex()
          {
          InitializeCriticalSection(&m_cs);
          }
          
       ~WinCS_Mutex()
          {
{'fraction_non_alphanumeric': 0.10844200411805079, 'fraction_numerical': 0.02608098833218943, 'mean_word_length': 3.43161094224924, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 23, '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': '1181418', 'n_tokens_mistral': 588, 'n_tokens_neox': 546, 'n_words': 118}