<commit_before>#include <string.h>

/*
   Public Base64 conversion tables
   */
const char B64ABC[] =
    "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
char b64buf[256];

/*
   void initb64();
   Initializes the base64->base16 conversion tab.
   Call this function once when your program starts.
   and always after your B64 table has been changed.
   */
void initb64()
{
	unsigned int i;
	for (i = 0; i < 256; i++)
		b64buf[i] = 0x00;
	for (i = 0; i < 64; i++)
		b64buf[(int)(B64ABC[i])] = i;
}

/*
   int b64toh(lpBase64String, lpDestinationBuffer);
   Converts base64 string b to hexnumber d.
   Returns size of hexnumber in bytes.
   */
int b64toh(const char *b, char *d)
{
	unsigned int i, k, l;

	l = strlen(b);
	if (l < 2)
		return 0;
	for (i = l - 1; i >= 0; i--) {
		if (b64buf[(int)(b[i])] == 0)
			l--;
		else
			break;
	}
<commit_msg>fixed warning: comparison of unsigned expression >= 0 is always true<commit_after>#include <string.h>

/*
   Public Base64 conversion tables
   */
const char B64ABC[] =
    "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
char b64buf[256];

/*
   void initb64();
   Initializes the base64->base16 conversion tab.
   Call this function once when your program starts.
   and always after your B64 table has been changed.
   */
void initb64()
{
	unsigned int i;
	for (i = 0; i < 256; i++)
		b64buf[i] = 0x00;
	for (i = 0; i < 64; i++)
		b64buf[(int)(B64ABC[i])] = i;
}

/*
   int b64toh(lpBase64String, lpDestinationBuffer);
   Converts base64 string b to hexnumber d.
   Returns size of hexnumber in bytes.
   */
int b64toh(const char *b, char *d)
{
	unsigned int i, k, l;

	l = strlen(b);
	if (l < 2)
		return 0;
	for (i = l - 1; ; i--) {
		if (b64buf[(int)(b[i])] == 0)
			l--;
		else
			break;
	}

{'fraction_non_alphanumeric': 0.13949579831932774, 'fraction_numerical': 0.06722689075630252, 'mean_word_length': 3.1247113163972284, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '2427992', 'n_tokens_mistral': 815, 'n_tokens_neox': 708, 'n_words': 215}