<commit_before>﻿using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Threading;
using System.Windows.Forms;

namespace FEClient
{
    static class Program
    {

#if !MULTIINSTANCE
        private static string guid =
            ((GuidAttribute) Assembly.GetExecutingAssembly().GetCustomAttributes(typeof (GuidAttribute), true)[0]).Value;
        static Mutex mutex = new Mutex(true,guid); //TODO: port specific
#endif


        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
#if !MULTIINSTANCE
            if (mutex.WaitOne(TimeSpan.Zero, true))
            {
#endif
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new Context());
#if !MULTIINSTANCE
                mutex.ReleaseMutex();
            }
#endif
        }
    }
}<commit_msg>Changed multi to single instance compile flags<commit_after>﻿using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Threading;
using System.Windows.Forms;

namespace FEClient
{
    static class Program
    {

#if !SINGLEINSTANCE
        private static string guid =
            ((GuidAttribute) Assembly.GetExecutingAssembly().GetCustomAttributes(typeof (GuidAttribute), true)[0]).Value;
        static Mutex mutex = new Mutex(true,guid); //TODO: port specific
#endif


        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
#if !SINGLEINSTANCE
            if (mutex.WaitOne(TimeSpan.Zero, true))
            {
#endif
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new Context());
#if !SINGLEINSTANCE
                mutex.ReleaseMutex();
            }
#endif
        }
    }
}
{'fraction_non_alphanumeric': 0.102, 'fraction_numerical': 0.001, 'mean_word_length': 2.2857142857142856, 'pattern_counts': {'":': 0, '<': 7, '<?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': '2533433', 'n_tokens_mistral': 520, 'n_tokens_neox': 519, 'n_words': 128}