<commit_before>#include "./test.h"

struct test
{
	struct test *next;
	struct test *prev;
	int data;
};

int main(int argc, char *argv[])
{
	do {
		/* skip first argument */
		--argc;
		++argv;

		printf("%s\n", *argv); // print all arguments
	} while (argc > 0);

	// the /* c */ is a char
	const char c = 'C';
	const char newline = '\n';
	const char backslash = '\\';
	const char tick = '\'';

	switch (c) {
	case 'C': {
		printf("char 'c' was %c\n", c);
		break;
	}
	default:
		printf("Switch fell through\n");
	}

	/*************************
	 * use "malloc" -> "free"
	 *************************/
	struct test *tmp = (struct test*)malloc(sizeof(*tmp));

	tmp->data = (1 == true)
		? 1
		: 2;

	free(tmp);
}



<commit_msg>Adding tests for sval chunk allocation algorithm<commit_after>#include "./test.h"

struct test
{
	struct test *next;
	struct test *prev;
	int data;
};

int main(int argc, char *argv[])
{
	do {
		/* skip first argument */
		--argc;
		++argv;

		printf("%s\n", *argv); // print all arguments
	} while (argc > 0);

	// the /* c */ is a char
	const char c = 'C';
	const char newline = '\n';
	const char backslash = '\\';
	const char tick = '\'';

	switch (c) {
	case 'C': {
		printf("char 'c' was %c\n", c);
		break;
	}
	default:
		printf("Switch fell through\n");
	}

	/*************************
	 * use "malloc" -> "free"
	 *************************/
	struct test *tmp = (struct test*)malloc(sizeof(*tmp));

	tmp->data = (1 == true)
		? 1
		: 2;

	free(tmp);

	/* 512 bytes */
	char *loremipsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque tincidunt id velit nec laoreet. Maecenas feugiat cursus finibus. Ut convallis volutpat urna, nec cursus nisl. Nullam malesuada sapien et maximus ultricies. Suspendisse ut justo dui. Nulla bibendum id turpis sed lobortis. Sed vitae turpis vitae arcu pulvinar aliquet. Nam a faucibus mi. Integer rutrum mattis nisl, facilisis pharetra lorem dapibus finibus. Aenean eget lacus non augue faucibus lobortis et a sapien. Duis eleifend maximus cras amet.";

	char *nullsucks = "A string with \0 i.e. escaped null (\0) a couple times";
}
{'fraction_non_alphanumeric': 0.19508738781294285, 'fraction_numerical': 0.006140765233821445, 'mean_word_length': 3.278787878787879, 'pattern_counts': {'":': 0, '<': 3, '<?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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1405781', 'n_tokens_mistral': 828, 'n_tokens_neox': 768, 'n_words': 255}