<commit_before>#ifndef FILE_ID_SUPPORT_HPP_INCLUDED
#define FILE_ID_SUPPORT_HPP_INCLUDED

#include <clang-c/Index.h>
#include <algorithm>

namespace std {
    template <>
    struct hash<CXFileUniqueID> {
        std::size_t operator() (CXFileUniqueID const& uid) const {
            int nelems = sizeof(uid.data) / sizeof(uid.data[0]);
            std::size_t h = std::hash<unsigned long long>()(uid.data[0]);
            for (int i = 1; i < nelems; ++i)
                hash_combine(h, uid.data[i]);
            return h;
        }
    private:
        // From boost.<commit_msg>std::hash lives in the functional header, fixes compilation<commit_after>#ifndef FILE_ID_SUPPORT_HPP_INCLUDED
#define FILE_ID_SUPPORT_HPP_INCLUDED

#include <clang-c/Index.h>
#include <algorithm>
#include <functional>

namespace std {
    template <>
    struct hash<CXFileUniqueID> {
        std::size_t operator() (CXFileUniqueID const& uid) const {
            int nelems = sizeof(uid.data) / sizeof(uid.data[0]);
            std::size_t h = std::hash<unsigned long long>()(uid.data[0]);
            for (int i = 1; i < nelems; ++i)
                hash_combine(h, uid.data[i]);
            return h;
        }
    private:
        // From boost.
{'fraction_non_alphanumeric': 0.12682926829268293, 'fraction_numerical': 0.004878048780487805, 'mean_word_length': 2.6205882352941177, 'pattern_counts': {'":': 0, '<': 16, '<?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': '3475614', 'n_tokens_mistral': 416, 'n_tokens_neox': 395, 'n_words': 92}