<commit_before>#ifndef LIBRAIN_H
#define LIBRAIN_H 1

#define LIBRAIN_NOALLOC 0x01

#ifdef __cplusplus
extern "C" {
#endif

typedef unsigned long size_t;
typedef signed long ssize_t;
typedef unsigned char uint8_t;

enum rain_algorithm_e {
	JALG_unset = 0,
	JALG_liberation,
	JALG_crs
};

struct rain_env_s
{
	void* (*malloc) (size_t size);
	void* (*calloc) (size_t nmemb, size_t size);
	void (*free) (void *ptr);
};

/** Encoding parameters */
struct rain_encoding_s
{
	size_t packet_size;
	size_t block_size; /**< The size of data or parity blocks */
	unsigned int w, k, m;
	enum rain_algorithm_e algo;

	size_t data_size;
	size_t padded_data_size; /**< The size of original data + padding */
	size_t strip_size;
};<commit_msg>Remove useless typedefs<commit_after>#ifndef LIBRAIN_H
#define LIBRAIN_H 1

#include <stdint.h>

#define LIBRAIN_NOALLOC 0x01

#ifdef __cplusplus
extern "C" {
#endif

enum rain_algorithm_e {
	JALG_unset = 0,
	JALG_liberation,
	JALG_crs
};

struct rain_env_s
{
	void* (*malloc) (size_t size);
	void* (*calloc) (size_t nmemb, size_t size);
	void (*free) (void *ptr);
};

/** Encoding parameters */
struct rain_encoding_s
{
	size_t packet_size;
	size_t block_size; /**< The size of data or parity blocks */
	unsigned int w, k, m;
	enum rain_algorithm_e algo;

	size_t data_size;
	size_t padded_data_size; /**< The size of original data + padding */
	size_t strip_size;
};
{'fraction_non_alphanumeric': 0.10816618911174786, 'fraction_numerical': 0.007879656160458453, 'mean_word_length': 4.869747899159663, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 4, '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': '7091533', 'n_tokens_mistral': 581, 'n_tokens_neox': 548, 'n_words': 156}