<commit_before>#ifndef _EET_PRIVATE_H
#define _EET_PRIVATE_H

#include <Eina.h>

typedef enum _Eet_Convert_Type   Eet_Convert_Type;

enum _Eet_Convert_Type
{
   EET_D_NOTHING       = 0,
   EET_D_FLOAT         = 1 << 1,
   EET_D_DOUBLE        = 1 << 2,
   EET_D_FIXED_POINT   = 1 << 4
};

typedef struct _Eet_String   Eet_String;
typedef struct _Eet_Convert  Eet_Convert;

struct _Eet_Convert
{
   float            f;
   double           d;
   Eina_F32p32      fp;

   Eet_Convert_Type type;
};

struct _Eet_String
{
   union {
      const char      *mmap;
      char            *str;
   } u;

   int              hash;
   int              len;

   int              next;
   int              prev;

   unsigned char    allocated : 1;
};
struct _Eet_Dictionary
{
   Eet_String *all;
   Eina_Hash  *converts;

   int         size;
   int         offset;

   int         hash[256];

   int         count;
   int         total;

   const char *start;
   const char *end;<commit_msg>	* eet: another forgotten improvement.<commit_after>#ifndef _EET_PRIVATE_H
#define _EET_PRIVATE_H

#include <Eina.h>

typedef enum _Eet_Convert_Type   Eet_Convert_Type;

enum _Eet_Convert_Type
{
   EET_D_NOTHING       = 0,
   EET_D_FLOAT         = 1 << 1,
   EET_D_DOUBLE        = 1 << 2,
   EET_D_FIXED_POINT   = 1 << 4
};

typedef struct _Eet_String   Eet_String;
typedef struct _Eet_Convert  Eet_Convert;

struct _Eet_Convert
{
   float            f;
   double           d;
   Eina_F32p32      fp;

   Eet_Convert_Type type;
};

struct _Eet_String
{
   union {
      const char      *mmap;
      char            *str;
   } u;

   int              len;

   int              next;
   int              prev;

   unsigned char    hash;
   unsigned char    allocated : 1;
};
struct _Eet_Dictionary
{
   Eet_String *all;
   Eina_Hash  *converts;

   int         size;
   int         offset;

   int         hash[256];

   int         count;
   int         total;

   const char *start;
   const char *end;
{'fraction_non_alphanumeric': 0.06922688226376958, 'fraction_numerical': 0.015159171298635674, 'mean_word_length': 1.7197802197802199, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 5, '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': '621475', 'n_tokens_mistral': 761, 'n_tokens_neox': 711, 'n_words': 172}