<commit_before>/**
 * Motion Server main functions and server thread.
 *
 * (C) <NAME> (<EMAIL>), Auckland University of Technology, Auckland, New Zealand
 *
 */

// Server version information
const int arrServerVersion[4] = { 1, 10, 3, 0 };


/******************************************************************************
 * Includes
 */

#include "Config.h"             // configuration definitions

#ifdef MONITOR_MEMORY_USAGE     // memory leak monitoring
	// source: https://msdn.microsoft.com/en-us/library/x98tx3cf%28v=vs.140%29.aspx

	#define _CRTDBG_MAP_ALLOC
	#include <stdlib.h>
	#include <crtdbg.h>
	
	#ifdef _DEBUG
		#ifndef DBG_NEW
			#define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ )
			#define new DBG_NEW
		#endif<commit_msg>PieceMeta support justifies increase in minor version#<commit_after>/**
 * Motion Server main functions and server thread.
 *
 * (C) <NAME> (<EMAIL>), Auckland University of Technology, Auckland, New Zealand
 *
 */

// Server version information
const int arrServerVersion[4] = { 1, 10, 4, 0 };


/******************************************************************************
 * Includes
 */

#include "Config.h"             // configuration definitions

#ifdef MONITOR_MEMORY_USAGE     // memory leak monitoring
	// source: https://msdn.microsoft.com/en-us/library/x98tx3cf%28v=vs.140%29.aspx

	#define _CRTDBG_MAP_ALLOC
	#include <stdlib.h>
	#include <crtdbg.h>
	
	#ifdef _DEBUG
		#ifndef DBG_NEW
			#define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ )
			#define new DBG_NEW
		#endif
{'fraction_non_alphanumeric': 0.2087912087912088, 'fraction_numerical': 0.02068519715578539, 'mean_word_length': 4.042345276872964, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, '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': '6404365', 'n_tokens_mistral': 539, 'n_tokens_neox': 474, 'n_words': 125}