<commit_before>// AlphaTest.cpp : Ӧóڵ㡣
//

#include "stdafx.h"
#include "CAlphaTest.h"
#include "AlphaCommon/CAlphaWindow.h"
#include "AlphaGraph/CRenderer.h"
#include <Mmsystem.h>
#pragma comment( lib,"winmm.lib" )

CAlphaWindow *g_pWindow;
CRenderer	 *g_pRenderer;
void init()
{
	g_pWindow = new CAlphaWindow;
	g_pWindow->Initialize(NULL, 800, 600, "MyTestTitle", 0);
	g_pRenderer = new CRenderer;
	g_pRenderer->Initialize(g_pWindow);
}

void destroy()
{
	SAFE_DELETE(g_pRenderer);
	SAFE_DELETE(g_pWindow);
}

int main()
{
	init();
	while (g_pWindow->Messagepump() >= 0)
	{
		g_pRenderer->EnterOneFrame();
	}
	destroy();
	return 0;
}<commit_msg>增加renderer<commit_after>// AlphaTest.cpp : Ӧóڵ㡣
//

#include "stdafx.h"
#include "CAlphaTest.h"
#include "AlphaCommon/CAlphaWindow.h"
#include "AlphaGraph/CRenderer.h"
#include <Mmsystem.h>
#pragma comment( lib,"winmm.lib" )

CAlphaWindow *g_pWindow;
CRenderer	 *g_pRenderer;
bool init()
{
	g_pWindow = new CAlphaWindow;
	g_pWindow->Initialize(NULL, 800, 600, "MyTestTitle", 0);
	g_pRenderer = new CRenderer;
	g_pRenderer->Initialize(g_pWindow);
}

void destroy()
{
	SAFE_DELETE(g_pRenderer);
	SAFE_DELETE(g_pWindow);
}

int main()
{
	init();
	while (g_pWindow->Messagepump() > 0)
	{
		g_pRenderer->EnterOneFrame();
	}
	destroy();
	return 0;
}
{'fraction_non_alphanumeric': 0.1573643410852713, 'fraction_numerical': 0.013953488372093023, 'mean_word_length': 5.62051282051282, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '6701751', 'n_tokens_mistral': 567, 'n_tokens_neox': 547, 'n_words': 96}