<commit_before>// vim: ts=2:sw=2:noexpandtab

#include "diana.h"

#include <string.h>
#include <limits.h>

#include <stdio.h>

static void *_malloc(struct diana *diana, size_t size);
static void *_realloc(struct diana *diana, void *ptr, size_t oldSize, size_t newSize);
static void _free(struct diana *diana, void *ptr);

/* UNUSED
// ============================================================================
// VECTOR
struct _vector {
	size_t size;
	unsigned int capacity;
	unsigned int length;
	void *data;
};

void _vector_reserve(struct diana *diana, struct _vector *v, unsigned int capacity) {
	v->data = _realloc(diana, v->data, v->size * v->capacity, v->size * capacity);
	v->capacity = capacity;
}
<commit_msg>Removed un-needed include from testing<commit_after>// vim: ts=2:sw=2:noexpandtab

#include "diana.h"

#include <string.h>
#include <limits.h>

static void *_malloc(struct diana *diana, size_t size);
static void *_realloc(struct diana *diana, void *ptr, size_t oldSize, size_t newSize);
static void _free(struct diana *diana, void *ptr);

/* UNUSED
// ============================================================================
// VECTOR
struct _vector {
	size_t size;
	unsigned int capacity;
	unsigned int length;
	void *data;
};

void _vector_reserve(struct diana *diana, struct _vector *v, unsigned int capacity) {
	v->data = _realloc(diana, v->data, v->size * v->capacity, v->size * capacity);
	v->capacity = capacity;
}

{'fraction_non_alphanumeric': 0.23013130615065652, 'fraction_numerical': 0.0027643400138217, 'mean_word_length': 5.5225225225225225, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 20, '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': '7398481', 'n_tokens_mistral': 497, 'n_tokens_neox': 478, 'n_words': 140}