<commit_before>#include <stdio.h>
#include <string.h>
#include <mpool.h>

int main (int argc, char *argv[]) {
  
  mpool_t *pool;
  int  *n  = NULL;
  int  *m  = NULL;
  char *c  = NULL;
  char *s1 = NULL;
  char *s2 = NULL;
  const char *name[] = {"bokko", "cubicdaiya"};
  pool = mpool_create(0);
  n    = mpool_alloc(&pool, sizeof(int));
  m    = mpool_alloc(&pool, sizeof(int));
  c    = mpool_alloc(&pool, sizeof(char));
  s1   = mpool_alloc(&pool, strlen(name[0]) + 1);
  s2   = mpool_alloc(&pool, strlen(name[1]) + 1);
  *n   = 5;
  *m   = 10;
  *c   = 'a';
  strncpy(s1, name[0], strlen(name[0]) + 1);
  strncpy(s2, name[1], strlen(name[1]) + 1);
  printf("n  = %d\n", *n);
  printf("m  = %d\n", *m);
  printf("c  = %c\n", *c);
  printf("s1 = %s\n", s1);
  printf("s2 = %s\n", s2);
  mpool_destroy(pool);
  
  return 0;
}<commit_msg>remove warning when compiling<commit_after>#include <stdio.h>
#include <string.h>
#include <mpool.h>

int main (int argc, char *argv[]) {
  
  mpool_t *pool;
  int  *n  = NULL;
  int  *m  = NULL;
  char *c  = NULL;
  char *s1 = NULL;
  char *s2 = NULL;
  const char *name[] = {"bokko", "cubicdaiya"};
  pool = mpool_create(0);
  n    = (int *) mpool_alloc(&pool, sizeof(int));
  m    = (int *) mpool_alloc(&pool, sizeof(int));
  c    = mpool_alloc(&pool, sizeof(char));
  s1   = mpool_alloc(&pool, strlen(name[0]) + 1);
  s2   = mpool_alloc(&pool, strlen(name[1]) + 1);
  *n   = 5;
  *m   = 10;
  *c   = 'a';
  strncpy(s1, name[0], strlen(name[0]) + 1);
  strncpy(s2, name[1], strlen(name[1]) + 1);
  printf("n  = %d\n", *n);
  printf("m  = %d\n", *m);
  printf("c  = %c\n", *c);
  printf("s1 = %s\n", s1);
  printf("s2 = %s\n", s2);
  mpool_destroy(pool);
  
  return 0;
}
{'fraction_non_alphanumeric': 0.22403733955659277, 'fraction_numerical': 0.029171528588098017, 'mean_word_length': 3.162621359223301, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2084309', 'n_tokens_mistral': 807, 'n_tokens_neox': 784, 'n_words': 175}