<commit_before>//----------------------------------------------------------------------------
/// \file common.hpp
//----------------------------------------------------------------------------
/// \namespace dmf Distributed Monitoring Framework.
///
/// This file contains a set of commonly used functions.
//----------------------------------------------------------------------------
// Copyright (c) 2010 <NAME> <<EMAIL>>
// Created: 2010-09-20
//----------------------------------------------------------------------------

#ifndef _EIXX_COMMON_HPP_
#define _EIXX_COMMON_HPP_

#include <string>
#include <sstream>
#include <stdexcept>
#include <boost/interprocess/detail/atomic.hpp>
#include <boost/version.hpp>
#include <boost/static_assert.hpp>
#include <boost/assert.hpp>
#include <eixx/util/compiler_hints.hpp>

#include <eixx/config.h>

#define ERL_MONITOR_P       19
#define ERL_DEMONITOR_P     20
#define ERL_MONITOR_P_EXIT  21

namespace EIXX_NAMESPACE {

#if BOOST_VERSION > 104800
namespace bid = boost::interprocess::ipcdetail;
#else
namespace bid = boost::interprocess::detail;
#endif
<commit_msg>header-only marshalling, no need for ./configure<commit_after>//----------------------------------------------------------------------------
/// \file common.hpp
//----------------------------------------------------------------------------
/// \namespace dmf Distributed Monitoring Framework.
///
/// This file contains a set of commonly used functions.
//----------------------------------------------------------------------------
// Copyright (c) 2010 <NAME> <<EMAIL>>
// Created: 2010-09-20
//----------------------------------------------------------------------------

#ifndef _EIXX_COMMON_HPP_
#define _EIXX_COMMON_HPP_

#include <string>
#include <sstream>
#include <stdexcept>
#include <boost/interprocess/detail/atomic.hpp>
#include <boost/version.hpp>
#include <boost/static_assert.hpp>
#include <boost/assert.hpp>
#include <eixx/util/compiler_hints.hpp>

#ifdef HAVE_CONFIG_H
#include <eixx/config.h>
#endif

#define ERL_MONITOR_P       19
#define ERL_DEMONITOR_P     20
#define ERL_MONITOR_P_EXIT  21

namespace EIXX_NAMESPACE {

#if BOOST_VERSION > 104800
namespace bid = boost::interprocess::ipcdetail;
#else
namespace bid = boost::interprocess::detail;
#endif

{'fraction_non_alphanumeric': 0.3614142295940637, 'fraction_numerical': 0.020951549541684853, 'mean_word_length': 1.524229074889868, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 29, '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': '2240021', 'n_tokens_mistral': 659, 'n_tokens_neox': 615, 'n_words': 144}