<commit_before>/*
 *******************************************************************************
 *
 * Purpose: Utils. Atomic types helper.
 *
 *******************************************************************************
 * Copyright Monstrenyatko 2014.
 *
 * Distributed under the MIT License.
 * (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT)
 *******************************************************************************
 */

#ifndef UTILS_ATOMIC_H_
#define UTILS_ATOMIC_H_

#ifndef __has_feature
#define __has_feature(__x) 0
#endif

#if __has_feature(cxx_atomic)
#include <atomic>
#else
#include <boost/atomic.hpp>
#define UTILS_USE_BOOST_ATOMIC<commit_msg>Use boost::atomic if C++ compiler older than 201103.<commit_after>/*
 *******************************************************************************
 *
 * Purpose: Utils. Atomic types helper.
 *
 *******************************************************************************
 * Copyright Monstrenyatko 2014.
 *
 * Distributed under the MIT License.
 * (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT)
 *******************************************************************************
 */

#ifndef UTILS_ATOMIC_H_
#define UTILS_ATOMIC_H_

#ifndef __has_feature
#define __has_feature(__x) 0
#endif

#if __cplusplus < 201103L
#include <boost/atomic.hpp>
#define UTILS_USE_BOOST_ATOMIC
#else
#include <atomic>
{'fraction_non_alphanumeric': 0.3991625959525471, 'fraction_numerical': 0.015352407536636426, 'mean_word_length': 7.586826347305389, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 7, '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': '7504719', 'n_tokens_mistral': 420, 'n_tokens_neox': 361, 'n_words': 89}