<commit_before>#ifndef CLUE_MEMORY__
#define CLUE_MEMORY__

#include <clue/common.hpp>

namespace clue {

#if (defined(_WIN32) || defined(_WIN64)) && defined(_MSC_VER)

inline void* aligned_alloc(size_t nbytes, unsigned int alignment)
{
    void* p = ::_aligned_malloc(nbytes, alignment));
    if (!p)
    {
        throw std::bad_alloc();
    }<commit_msg>add relevant header in memory.hpp<commit_after>#ifndef CLUE_MEMORY__
#define CLUE_MEMORY__

#include <clue/common.hpp>

#if (defined(_WIN32) || defined(_WIN64)) && defined(_MSC_VER)
#include <malloc.h>
#else
#include <stdlib.h>
#endif

namespace clue {

#if (defined(_WIN32) || defined(_WIN64)) && defined(_MSC_VER)

inline void* aligned_alloc(size_t nbytes, unsigned int alignment)
{
    void* p = ::_aligned_malloc(nbytes, alignment));
    if (!p)
    {
        throw std::bad_alloc();
    }
{'fraction_non_alphanumeric': 0.1411764705882353, 'fraction_numerical': 0.01411764705882353, 'mean_word_length': 4.789115646258503, 'pattern_counts': {'":': 0, '<': 7, '<?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': '3183665', 'n_tokens_mistral': 310, 'n_tokens_neox': 298, 'n_words': 68}