<commit_before>﻿using System.Runtime.InteropServices;

namespace DokanNet.Native
{
    /// <summary>
    /// Dokan mount options used to describe dokan device behaviour
    /// </summary>
    /// <see cref="NativeMethods.DokanMain"/>
    /// <remarks>This is the same structure as <c>PDOKAN_OPTIONS</c> (dokan.h) in the C version of Dokan.</remarks>
    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode, Pack = 4)]
    internal struct DOKAN_OPTIONS
    {
        /// <summary>
        /// Version of the dokan features requested (version "123" is equal to Dokan version 1.2.3).
        /// </summary>
        public ushort Version;

        /// <summary>
        /// Number of threads to be used internally by Dokan library. More thread will handle more event at the same time.
        /// </summary>
        [MarshalAs(UnmanagedType.U1)]
        public bool SingleThread;

        /// <summary>
        /// Features enable for the mount. See <see cref="DokanOptions"/>.
        /// </summary>
        public uint Options;

        /// <summary>
        /// FileSystem can store anything here.
        /// </summary>
        public ulong GlobalContext;

        /// <summary>
        /// Mount point.
        /// Can be <c>M:\\</c>(drive letter) or <c>C:\\mount\\dokan</c> (path in NTFS).
        /// </summary>
        [MarshalAs(UnmanagedType.LPWStr)]
        public string MountPoint;

        /// <summary>
        /// UNC name used for network volume.
        /// </summary>
        [MarshalAs(UnmanagedType.LPWStr)]
        public string UNCName;<commit_msg>Library - Correct Single thread doc<commit_after>﻿using System.Runtime.InteropServices;

namespace DokanNet.Native
{
    /// <summary>
    /// Dokan mount options used to describe dokan device behaviour
    /// </summary>
    /// <see cref="NativeMethods.DokanMain"/>
    /// <remarks>This is the same structure as <c>PDOKAN_OPTIONS</c> (dokan.h) in the C version of Dokan.</remarks>
    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode, Pack = 4)]
    internal struct DOKAN_OPTIONS
    {
        /// <summary>
        /// Version of the dokan features requested (version "123" is equal to Dokan version 1.2.3).
        /// </summary>
        public ushort Version;

        /// <summary>
        /// Only use a single thread to process events. This is highly not recommended as can easily create a bottleneck.
        /// </summary>
        [MarshalAs(UnmanagedType.U1)]
        public bool SingleThread;

        /// <summary>
        /// Features enable for the mount. See <see cref="DokanOptions"/>.
        /// </summary>
        public uint Options;

        /// <summary>
        /// FileSystem can store anything here.
        /// </summary>
        public ulong GlobalContext;

        /// <summary>
        /// Mount point.
        /// Can be <c>M:\\</c>(drive letter) or <c>C:\\mount\\dokan</c> (path in NTFS).
        /// </summary>
        [MarshalAs(UnmanagedType.LPWStr)]
        public string MountPoint;

        /// <summary>
        /// UNC name used for network volume.
        /// </summary>
        [MarshalAs(UnmanagedType.LPWStr)]
        public string UNCName;
{'fraction_non_alphanumeric': 0.13377400062952471, 'fraction_numerical': 0.005036197670758577, 'mean_word_length': 1.9371534195933457, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '3605869', 'n_tokens_mistral': 919, 'n_tokens_neox': 902, 'n_words': 274}