<commit_before>﻿using System;
using System.Runtime.InteropServices;
using System.Text;

public static class PInvoke
{
  struct Bytes
  {
    [MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
    public int[] Vals;
  }

  [StructLayout(LayoutKind.Explicit)]
  public struct Union
  {
    [FieldOffset(0)]
    public int I;
    [FieldOffset(0)]
    public double D;
  }

  [StructLayout(LayoutKind.Sequential, Pack = 2, Size = 8)]
  public struct Sparse
  {
    public int I;
    public double D;
  }<commit_msg>Formatting: avoid public nested types<commit_after>﻿using System;
using System.Runtime.InteropServices;
using System.Text;

public static class PInvoke
{
  struct Bytes
  {
    [MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
    public int[] Vals;
  }

  [StructLayout(LayoutKind.Explicit)]
  struct Union
  {
    [FieldOffset(0)]
    public int I;
    [FieldOffset(0)]
    public double D;
  }

  [StructLayout(LayoutKind.Sequential, Pack = 2, Size = 8)]
  struct Sparse
  {
    public int I;
    public double D;
  }
{'fraction_non_alphanumeric': 0.10328185328185328, 'fraction_numerical': 0.009652509652509652, 'mean_word_length': 3.4127659574468083, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2192390', 'n_tokens_mistral': 355, 'n_tokens_neox': 343, 'n_words': 90}