<commit_before>/* buffer.h */



#ifndef LIBSYSTEM_BUFFER_H
# define LIBSYSTEM_BUFFER_H


/* Buffer */
typedef struct _Buffer
{
	unsigned int size;
	char * data;
} Buffer;

Buffer * buffer_new(unsigned int size, char * data);
void buffer_delete(Buffer * buffer);

/* returns */
char * buffer_data(Buffer const * buffer);
unsigned int buffer_length(Buffer const * buffer);

#endif /* !LIBSYSTEM_BUFFER_H */<commit_msg>Code cleanup<commit_after>/* $Id$ */
/* Copyright (c) 2006 The DeforaOS Project */



#ifndef LIBSYSTEM_BUFFER_H
# define LIBSYSTEM_BUFFER_H


/* Buffer */
/* types */
typedef struct _Buffer
{
	unsigned int size;
	char * data;
} Buffer;


/* functions */
Buffer * buffer_new(unsigned int size, char * data);
void buffer_delete(Buffer * buffer);

/* returns */
char * buffer_data(Buffer const * buffer);
unsigned int buffer_length(Buffer const * buffer);

#endif /* !LIBSYSTEM_BUFFER_H */
{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.004424778761061947, 'mean_word_length': 4.451807228915663, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4191274', 'n_tokens_mistral': 298, 'n_tokens_neox': 290, 'n_words': 83}