<commit_before>#ifndef data_H_3U6PNADX
#define data_H_3U6PNADX

#ifdef __cplusplus
extern "C" {
#endif

#include <stddef.h>
#include <stdint.h>


typedef struct data
{
	void * content;
	size_t size;
} data;


int data_create(data * d, size_t size);
void data_destroy(data * d);
int data_realloc(data * d, size_t size);
void data_zero(data * d);
int data_copy_content(data * d, const void * content, size_t size);
int data_copy(data * dest, const data * src);
void data_move_content(data * d, void ** content, size_t size);
void data_move(data * dest, data * src);
void data_swap(data * d0, data * d1);
int data_string(data * d, const char * string);
size_t data_count(const data * d, const uint8_t separator);
int data_join(const data * first, const data * second, data * out);
int data_split(const data * d, const uint8_t separator, data * first, data * second);


#ifdef __cplusplus
}
#endif

#endif // end of include guard: data_H_3U6PNADX
<commit_msg>typo fix<commit_after>#ifndef data_H_3U6PNADX
#define data_H_3U6PNADX

#ifdef __cplusplus
extern "C" {
#endif

#include <stddef.h>
#include <stdint.h>


typedef struct data
{
	void * content;
	size_t size;
} data;


int data_create(data * d, size_t size);
void data_destroy(data * d);
int data_realloc(data * d, size_t size);
void data_zero(data * d);
int data_copy_content(data * d, const void * content, size_t size);
int data_copy(data * dest, const data * src);
void data_move_content(data * d, void ** content, size_t size);
void data_move(data * dest, data * src);
void data_swap(data * d0, data * d1);
int data_string(data * d, const char * string);
size_t data_count(const data * d, const uint8_t element);
int data_join(const data * first, const data * second, data * out);
int data_split(const data * d, const uint8_t separator, data * first, data * second);


#ifdef __cplusplus
}
#endif

#endif // end of include guard: data_H_3U6PNADX

{'fraction_non_alphanumeric': 0.11560693641618497, 'fraction_numerical': 0.010509721492380452, 'mean_word_length': 5.141935483870967, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6830265', 'n_tokens_mistral': 714, 'n_tokens_neox': 698, 'n_words': 221}