<commit_before>/*
 * Akane - simple template kit 
 */
#pragma once
namespace akane {
  //Node class for linked list
  template <class T>
  class sl_node {
  public:
    T data;
    sl_node *next;
    sl_node() { next = nullptr; }
    sl_node(T &t) { data = t; next = nullptr; }
    sl_node(T &&t) { data = t; next = nullptr; }
    sl_node(sl_node &sln) { this->data = sln.data; this->next = sln.next; }
  };

  //Node class for double linked list
  template <class T>
  class node {
  public:
    T data;
    node *next, *forward;
    node() { next = nullptr; forward = nullptr; }
    node(T &t) { data = t; next = nullptr; forward = nullptr; }
    node(T &&t) { data = t; next = nullptr; forward = nullptr; }
    node(node &n) { data = n.data; next = nullptr; forward = nullptr; }
  };
<commit_msg>Include cstring in akane header (size_t definition)<commit_after>/*
 * Akane - simple template kit 
 */

#pragma once

#include <cstring>

namespace akane {
  //Node class for linked list
  template <class T>
  class sl_node {
  public:
    T data;
    sl_node *next;
    sl_node() { next = nullptr; }
    sl_node(T &t) { data = t; next = nullptr; }
    sl_node(T &&t) { data = t; next = nullptr; }
    sl_node(sl_node &sln) { this->data = sln.data; this->next = sln.next; }
  };

  //Node class for double linked list
  template <class T>
  class node {
  public:
    T data;
    node *next, *forward;
    node() { next = nullptr; forward = nullptr; }
    node(T &t) { data = t; next = nullptr; forward = nullptr; }
    node(T &&t) { data = t; next = nullptr; forward = nullptr; }
    node(node &n) { data = n.data; next = nullptr; forward = nullptr; }
  };

{'fraction_non_alphanumeric': 0.14535585042219543, 'fraction_numerical': 0.0, 'mean_word_length': 2.719730941704036, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 12, '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': '1396066', 'n_tokens_mistral': 587, 'n_tokens_neox': 581, 'n_words': 190}