<commit_before>﻿// <copyright file="TJRegion.cs" company="Autonomic Systems, Quamotion">
// Copyright (c) Autonomic Systems. All rights reserved.
// Copyright (c) Quamotion. All rights reserved.
// </copyright>

using System.Runtime.InteropServices;

namespace TurboJpegWrapper
{
    /// <summary>
    /// Cropping region.
    /// </summary>
    [StructLayout(LayoutKind.Sequential)]
    public struct TJRegion
    {
        /// <summary>
        /// Gets an empty region which is interpreted as full image region.
        /// </summary>
        public static TJRegion Empty { get { return new TJRegion(); } }

        /// <summary>
        /// Gets or sets the left boundary of the cropping region.
        /// </summary>
        public int X { get; set; }

        /// <summary>
        /// Gets or sets The upper boundary of the cropping region.
        /// </summary>
        public int Y { get; set; }<commit_msg>SA1502: Element should not be on a single line SA1129: Do not use default value type constructor<commit_after>﻿// <copyright file="TJRegion.cs" company="Autonomic Systems, Quamotion">
// Copyright (c) Autonomic Systems. All rights reserved.
// Copyright (c) Quamotion. All rights reserved.
// </copyright>

using System.Runtime.InteropServices;

namespace TurboJpegWrapper
{
    /// <summary>
    /// Cropping region.
    /// </summary>
    [StructLayout(LayoutKind.Sequential)]
    public struct TJRegion
    {
        /// <summary>
        /// Gets an empty region which is interpreted as full image region.
        /// </summary>
        public static TJRegion Empty
        {
            get
            {
                return default(TJRegion);
            }
        }

        /// <summary>
        /// Gets or sets the left boundary of the cropping region.
        /// </summary>
        public int X { get; set; }

        /// <summary>
        /// Gets or sets The upper boundary of the cropping region.
        /// </summary>
        public int Y { get; set; }
{'fraction_non_alphanumeric': 0.11959798994974874, 'fraction_numerical': 0.004020100502512563, 'mean_word_length': 1.9452662721893492, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '2873090', 'n_tokens_mistral': 545, 'n_tokens_neox': 529, 'n_words': 189}