<commit_before>#ifndef MIMOSA_CONTAINER_CACHE_HH
# define MIMOSA_CONTAINER_CACHE_HH

# include <memory>
# include <unordered_map>

# include "../runtime/time.hh"
# include "../runtime/thread.hh"
# include "../sync/rwlock.hh"
# include "../sync/future.hh"

namespace mimosa
{
  namespace container
  {
    template <typename Key,
              typename Value,
              typename Hash = std::hash<Key>,
              typename KeyEqual = std::equal_to<Key> >
    class Cache
    {
    public:<commit_msg>cache: non copyable<commit_after>#ifndef MIMOSA_CONTAINER_CACHE_HH
# define MIMOSA_CONTAINER_CACHE_HH

# include <memory>
# include <unordered_map>

# include "../runtime/time.hh"
# include "../runtime/thread.hh"
# include "../sync/rwlock.hh"
# include "../sync/future.hh"

namespace mimosa
{
  namespace container
  {
    template <typename Key,
              typename Value,
              typename Hash = std::hash<Key>,
              typename KeyEqual = std::equal_to<Key> >
    class Cache : private NonCopyable
    {
    public:
{'fraction_non_alphanumeric': 0.12138728323699421, 'fraction_numerical': 0.0, 'mean_word_length': 2.876865671641791, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '6580465', 'n_tokens_mistral': 336, 'n_tokens_neox': 325, 'n_words': 71}