<commit_before>#ifndef __STD_TYPES_H__
#define __STD_TYPES_H__

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

#ifdef FALSE
#undef FALSE
#endif

#ifdef TRUE
#undef TRUE
#endif

typedef enum { FALSE, TRUE } bool;

#define abs(a) ((a) > 0 ? (a) : -(a))
#define swapi(a,b)	{ (a)^=(b); (b)^=(a); (a)^=(b); }
#define swapf(a,b)	{ float t; t = (b); (b) = (a); (a) = t; }

typedef void* (*AllocFuncT)();
typedef void (*FreeFuncT)(void *);
typedef bool (*InitFuncT)(void *);

#endif
<commit_msg>Add min/max function definition.<commit_after>#ifndef __STD_TYPES_H__
#define __STD_TYPES_H__

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

#ifdef FALSE
#undef FALSE
#endif

#ifdef TRUE
#undef TRUE
#endif

typedef enum { FALSE, TRUE } bool;

#define abs(a) ((a) > 0 ? (a) : -(a))
#define max(a,b) ((a) > (b) ? (a) : (b))
#define min(a,b) ((a) < (b) ? (a) : (b))
#define swapi(a,b)	{ (a)^=(b); (b)^=(a); (a)^=(b); }
#define swapf(a,b)	{ float t; t = (b); (b) = (a); (a) = t; }

typedef void* (*AllocFuncT)();
typedef void (*FreeFuncT)(void *);
typedef bool (*InitFuncT)(void *);

#endif

{'fraction_non_alphanumeric': 0.23706491063029161, 'fraction_numerical': 0.0018814675446848542, 'mean_word_length': 4.911111111111111, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 10, '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': '445434', 'n_tokens_mistral': 492, 'n_tokens_neox': 467, 'n_words': 123}