<commit_before>// 5 june 2016
#define UNICODE
#define _UNICODE
#define STRICT
#define STRICT_TYPED_ITEMIDS
#define INITGUID
#define WINVER			0x0600
#define _WIN32_WINNT		0x0600
#define _WIN32_WINDOWS	0x0600
#define _WIN32_IE			0x0700
#define NTDDI_VERSION		0x06000000
#include <windows.h>
#include <d2d1.h>
#include <stdio.h>

ID2D1Factory *d2dfactory;

void loghr(const char *f, HRESULT hr)
{
	char hrs[20];

	OutputDebugStringA(f);
	OutputDebugStringA(" ");
	sprintf(hrs, "0x%08I32X\n", hr);
	OutputDebugStringA(hrs);
}

HRESULT doPaint(ID2D1RenderTarget *rt)
{
	D2D1_COLOR_F color;
	ID2D1SolidColorBrush *brush;
	D2D1_RECT_F rect;
	HRESULT hr;

	rt->GetSize();
	rt->BeginDraw();

	color.r = 1.0;
	color.g = 1.0;
	color.b = 1.0;
	color.a = 1.0;
	rt->Clear(&color);

	color.r = 0.0;
	color.g = 0.0;
	color.b = 0.0;
	color.a = 1.0;
	hr = rt->CreateSolidColorBrush(&color, NULL, &brush);
	if (hr != S_OK) {<commit_msg>Removed an irrelevant line of code.<commit_after>// 5 june 2016
#define UNICODE
#define _UNICODE
#define STRICT
#define STRICT_TYPED_ITEMIDS
#define INITGUID
#define WINVER			0x0600
#define _WIN32_WINNT		0x0600
#define _WIN32_WINDOWS	0x0600
#define _WIN32_IE			0x0700
#define NTDDI_VERSION		0x06000000
#include <windows.h>
#include <d2d1.h>
#include <stdio.h>

ID2D1Factory *d2dfactory;

void loghr(const char *f, HRESULT hr)
{
	char hrs[20];

	OutputDebugStringA(f);
	OutputDebugStringA(" ");
	sprintf(hrs, "0x%08I32X\n", hr);
	OutputDebugStringA(hrs);
}

HRESULT doPaint(ID2D1RenderTarget *rt)
{
	D2D1_COLOR_F color;
	ID2D1SolidColorBrush *brush;
	D2D1_RECT_F rect;
	HRESULT hr;

	rt->BeginDraw();

	color.r = 1.0;
	color.g = 1.0;
	color.b = 1.0;
	color.a = 1.0;
	rt->Clear(&color);

	color.r = 0.0;
	color.g = 0.0;
	color.b = 0.0;
	color.a = 1.0;
	hr = rt->CreateSolidColorBrush(&color, NULL, &brush);
	if (hr != S_OK) {
{'fraction_non_alphanumeric': 0.1391304347826087, 'fraction_numerical': 0.08260869565217391, 'mean_word_length': 4.578787878787879, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 16, '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': '3667846', 'n_tokens_mistral': 938, 'n_tokens_neox': 841, 'n_words': 180}