<commit_before>


#ifndef __EIRODS_HASH_HPP__
#define __EIRODS_HASH_HPP__

// =-=-=-=-=-=-=-
// hash_map include
#ifdef _WIN32
	#include <hash_map>
	#include <windows.h>
	using namespace stdext;
#else
    #define GCC_VERSION (__GNUC__ * 10000 \
                         + __GNUC_MINOR__ * 100 \
                         + __GNUC_PATCHLEVEL__)
    #if GCC_VERSION > 40200
        // JMC - older compilers do not handle -std=c++0X very well so
        // using unordered_map will require more effort 
        // #include <unordered_map>
        //#define EIRODS_HASH_TYPE std::unordered_map
        #include <backward/hash_map>
        #define EIRODS_HASH_TYPE __gnu_cxx::hash_map
    #else
        #include <ext/hash_map>
        #define EIRODS_HASH_TYPE __gnu_cxx::hash_map
    #endif
	using namespace __gnu_cxx;
#endif

#include <string.h>
#include <string>

namespace eirods
{

	struct eirods_char_str_hash
	{
		enum
		{	// parameters for hash table<commit_msg>[#785] move to boost::unordered_map for our lookup table until such time as we can move to std::unordered_map<commit_after>


#ifndef __EIRODS_HASH_HPP__
#define __EIRODS_HASH_HPP__

// =-=-=-=-=-=-=-
// hash_map include
#include <boost/unordered_map.hpp>
#define EIRODS_HASH_TYPE boost::unordered_map

#include <string.h>
#include <string>

namespace eirods
{

	struct eirods_char_str_hash
	{
		enum
		{	// parameters for hash table
{'fraction_non_alphanumeric': 0.10243553008595989, 'fraction_numerical': 0.013610315186246419, 'mean_word_length': 3.03757225433526, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 14, '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': '3001147', 'n_tokens_mistral': 540, 'n_tokens_neox': 497, 'n_words': 117}