<commit_before>// Application.cpp - Copyright 2013-2015 <NAME>, All Rights Reserved

#include <cstdlib>
#include "../include/Core/Application.h"
#include "../include/Core/Reflection/TypeInfo.h"

///////////////////
///   Methods   ///

void Application::Initialize()
{
	// Register the 'ApplicationExit' to execute when 'main' returns
	int atExitResult = std::atexit(Application::AtExit);
	assert(atExitResult == 0);
}

const TypeInfo* Application::FindType(const String& name)
{
	for (auto type : GetAllTypes())
	{
		if (type->GetName() == name)
		{
			return &*type;
		}
	}

	return nullptr;
}

Application& Application::Instance()
{
	static Application app;
	return app;
}

void Application::AtExit()
{
	// Remove all references
	GetMemoryManager().Sweep();
}
<commit_msg>Fixed a type in comment<commit_after>// Application.cpp - Copyright 2013-2015 <NAME>, All Rights Reserved

#include <cstdlib>
#include "../include/Core/Application.h"
#include "../include/Core/Reflection/TypeInfo.h"

///////////////////
///   Methods   ///

void Application::Initialize()
{
	// Register the 'Application::AtExit' function to execute when 'main' returns
	int atExitResult = std::atexit(Application::AtExit);
	assert(atExitResult == 0);
}

const TypeInfo* Application::FindType(const String& name)
{
	for (auto type : GetAllTypes())
	{
		if (type->GetName() == name)
		{
			return &*type;
		}
	}

	return nullptr;
}

Application& Application::Instance()
{
	static Application app;
	return app;
}

void Application::AtExit()
{
	// Remove all references
	GetMemoryManager().Sweep();
}

{'fraction_non_alphanumeric': 0.1729179910998093, 'fraction_numerical': 0.01144310235219326, 'mean_word_length': 3.798780487804878, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4720478', 'n_tokens_mistral': 518, 'n_tokens_neox': 489, 'n_words': 123}