<commit_before>#ifndef _INC_COMMON_H
#define _INC_COMMON_H
#pragma once

#include <queue>
#ifdef _WIN32
	#include "os_windows.h"
#else
	#include "os_unix.h"
	#include <stdarg.h>
#endif

// Use to indicate that a function uses printf-style arguments, allowing GCC to validate the format string and arguments:
//  a = 1-based index of format string
//  b = 1-based index of arguments
// Note: add 1 to index for non-static class methods because 'this' argument is inserted in position 1
#ifdef __GNUC__
	#define __printfargs(a,b) __attribute__ (format(printf, a, b))
#else
	#define __printfargs(a,b)
#endif

#define IsDigit(c)	isdigit((unsigned char)c)
#define IsSpace(c)	isspace((unsigned char)c)
#define IsAlpha(c)	isalpha((unsigned char)c)
#define IsNegative(c)	((c < 0) ? 1 : 0)

typedef THREAD_ENTRY_RET(_cdecl *PTHREAD_ENTRY_PROC)(void *);

#define SPHERE_DEF_PORT		2593
#define SPHERE_TITLE		"Sphere"
#define SPHERE_FILE			"sphere"	// file name prefix
#define SPHERE_SCRIPT		".scp"		// file name extension

#define SCRIPT_MAX_LINE_LEN 4096	// default size

#define IMULDIVDOWN(a,b,c)	(((a) * (b)) / (c))<commit_msg>Fixed linux compiler error caused by previous commit<commit_after>#ifndef _INC_COMMON_H
#define _INC_COMMON_H
#pragma once

#include <queue>
#ifdef _WIN32
	#include "os_windows.h"
#else
	#include "os_unix.h"
	#include <stdarg.h>
#endif

// Use to indicate that a function uses printf-style arguments, allowing GCC to validate the format string and arguments:
//  a = 1-based index of format string
//  b = 1-based index of arguments
// Note: add 1 to index for non-static class methods because 'this' argument is inserted in position 1
#ifdef __GNUC__
	#define __printfargs(a,b) __attribute__ ((format(printf, a, b)))
#else
	#define __printfargs(a,b)
#endif

#define IsDigit(c)	isdigit((unsigned char)c)
#define IsSpace(c)	isspace((unsigned char)c)
#define IsAlpha(c)	isalpha((unsigned char)c)
#define IsNegative(c)	((c < 0) ? 1 : 0)

typedef THREAD_ENTRY_RET(_cdecl *PTHREAD_ENTRY_PROC)(void *);

#define SPHERE_DEF_PORT		2593
#define SPHERE_TITLE		"Sphere"
#define SPHERE_FILE			"sphere"	// file name prefix
#define SPHERE_SCRIPT		".scp"		// file name extension

#define SCRIPT_MAX_LINE_LEN 4096	// default size

#define IMULDIVDOWN(a,b,c)	(((a) * (b)) / (c))
{'fraction_non_alphanumeric': 0.11749232792634809, 'fraction_numerical': 0.014905743095133712, 'mean_word_length': 5.134408602150538, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '5131781', 'n_tokens_mistral': 891, 'n_tokens_neox': 833, 'n_words': 256}