<commit_before>#include "ezscint.h"

#ifndef _ezfuncdef
#include "gd_key2rowcol.hc"

static _Grille **Grille  = NULL;
/*static wordint  **gr_list = NULL;*/
static _Grille **gr_list = NULL;
static wordint nGrilles = 0;
static wordint nGrillesMax = CHUNK*CHUNK;
static wordint cur_log_chunk = 7;
/*static wordint cur_log_chunk = 3;*/

static __thread wordint nsets    = 0;
static __thread wordint iset     = -1;
static __thread wordint iset_gdin = -1;
static __thread wordint iset_gdout = -1;
static __thread _gridset *gridset = NULL;
static  __thread _groptions groptions = { OUI, CUBIQUE,  MAXIMUM, NON, -1, SYM, SCALAIRE, NON, NON, OUI, 16, 0, DISTANCE, NEAREST, 0.5, 3.0, 0.0  };

static wordint log_chunks[]= {0, 1,  2, 3,    4,    5,    6,      7,     8,      9,      10,     11,        12};
static wordint primes[]    = {0, 0,  3, 7,   13,   31,   61,    127,   251,    509,    1021,   2039,      4093};
static wordint chunks[]    = {0, 0,  4, 8,   16,   32,   64,    128,   256,    512,    1024,   2048,      4096};
static wordint primes_sq[] = {0, 0,  3, 61, 251, 1021, 4093,  16381, 65521, 262139, 1048573, 4194301, 16777213};
static wordint chunks_sq[] = {0, 0, 16, 64, 256, 1024, 4096,  16384, 65536, 262144, 1048576, 4194304, 16777216};


/*****************************************************************************/
void EliminerGrille(wordint gridid);
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
void f77name(ez_avg)(float *zout, float *x, float *y, int *ni_src, int *nj_src,
            float *zin, int *ni_dst, int *nj_dst, int *extension);<commit_msg>Suppression de la classe de stockage __thread qui n'était pas utilisée pour permettre la compilation avec PGI<commit_after>#include "ezscint.h"

#ifndef _ezfuncdef
#include "gd_key2rowcol.hc"

static _Grille** Grille  = NULL;
static _Grille** gr_list = NULL;
static wordint nGrilles = 0;
static wordint nGrillesMax = CHUNK*CHUNK;
static wordint cur_log_chunk = 7;

// These declarations used to have the __thread storage class, but threads
// aren't actually used.  Furthemore, the PGI compiler does not support that
// storage class
static wordint iset     = -1;
static wordint iset_gdin = -1;
static wordint iset_gdout = -1;
static _gridset* gridset = NULL;
static _groptions groptions = { OUI, CUBIQUE,  MAXIMUM, NON, -1, SYM, SCALAIRE, NON, NON, OUI, 16, 0, DISTANCE, NEAREST, 0.5, 3.0, 0.0  };

static wordint log_chunks[]= {0, 1,  2, 3,    4,    5,    6,      7,     8,      9,      10,     11,        12};
static wordint primes[]    = {0, 0,  3, 7,   13,   31,   61,    127,   251,    509,    1021,   2039,      4093};
static wordint chunks[]    = {0, 0,  4, 8,   16,   32,   64,    128,   256,    512,    1024,   2048,      4096};
static wordint primes_sq[] = {0, 0,  3, 61, 251, 1021, 4093,  16381, 65521, 262139, 1048573, 4194301, 16777213};
static wordint chunks_sq[] = {0, 0, 16, 64, 256, 1024, 4096,  16384, 65536, 262144, 1048576, 4194304, 16777216};


/*****************************************************************************/
void EliminerGrille(wordint gridid);
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
void f77name(ez_avg)(float *zout, float *x, float *y, int *ni_src, int *nj_src,
            float *zin, int *ni_dst, int *nj_dst, int *extension);
{'fraction_non_alphanumeric': 0.18793363499245852, 'fraction_numerical': 0.12428355957767723, 'mean_word_length': 2.8202764976958523, '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': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1734147', 'n_tokens_mistral': 1547, 'n_tokens_neox': 1260, 'n_words': 385}