<commit_before>//Provides: caml_register_closure
var caml_closure_table = [] ;

function caml_run_from_table (id, marg) {
  if (caml_closure_table [id] == null)
    caml_failwith ("unbound closure");
  return caml_closure_table [id] (marg);
}

function caml_register_closure(id, clos) {
  caml_closure_table[id] = clos;
  return 0;
}

//Provides:caml_string_of_byte_string const
//Requires:MlString
function caml_string_of_byte_string (a) {
  return new MlString (a);
}

//Provides: caml_weak_create
function caml_weak_create (n) {
  var x = [0];
  x.length = n + 2;
  return x;
}
//Provides: caml_weak_set
function caml_weak_set(x, i, v) { x[i] = v; return 0; }
//Provides: caml_weak_get mutable
function caml_weak_get(x, i) { return (x[i]===undefined)?0:x[i]; }
//Provides: caml_weak_copy mutable
//Requires: caml_weak_get
function caml_weak_copy(x, i) {
  var y = caml_weak_get(x, i);
  if (y == 0) return y;
  var z = y[1];
  if (z instanceof Array && z[1] == (z[1]|0)) return [0, z.slice()];
  return y;
}
//Provides: caml_weak_check mutable
function caml_weak_check(x, i) { return x[i]!==undefined && x[i] !===0; }
//Provides: caml_weak_blit
function caml_weak_blit(s, i, d, j, l) {
  for (var k = 0; k < l; k++) d[j + k] = s[i + k];
  return 0;
}

// Regexp

//Provides: caml_regexp_make mutable
function caml_regexp_make (vs, vf) {
  var s = vs.toString();
  var f = vf.toString();
  return new RegExp (s, f);
}

//Provides: caml_regexp_split mutable
function caml_regexp_split (vr, vs) {
    var r = vr ;
    var s = vs.toString() ;
    var res = s.split (r);
    var vres = [0];
    for (var i = 0;i < res.length;i++) {<commit_msg>eliom: client: typo in javascript<commit_after>//Provides: caml_register_closure
var caml_closure_table = [] ;

function caml_run_from_table (id, marg) {
  if (caml_closure_table [id] == null)
    caml_failwith ("unbound closure");
  return caml_closure_table [id] (marg);
}

function caml_register_closure(id, clos) {
  caml_closure_table[id] = clos;
  return 0;
}

//Provides:caml_string_of_byte_string const
//Requires:MlString
function caml_string_of_byte_string (a) {
  return new MlString (a);
}

//Provides: caml_weak_create
function caml_weak_create (n) {
  var x = [0];
  x.length = n + 2;
  return x;
}
//Provides: caml_weak_set
function caml_weak_set(x, i, v) { x[i] = v; return 0; }
//Provides: caml_weak_get mutable
function caml_weak_get(x, i) { return (x[i]===undefined)?0:x[i]; }
//Provides: caml_weak_copy mutable
//Requires: caml_weak_get
function caml_weak_copy(x, i) {
  var y = caml_weak_get(x, i);
  if (y == 0) return y;
  var z = y[1];
  if (z instanceof Array && z[1] == (z[1]|0)) return [0, z.slice()];
  return y;
}
//Provides: caml_weak_check mutable
function caml_weak_check(x, i) { return x[i]!==undefined && x[i] !==0; }
//Provides: caml_weak_blit
function caml_weak_blit(s, i, d, j, l) {
  for (var k = 0; k < l; k++) d[j + k] = s[i + k];
  return 0;
}

// Regexp

//Provides: caml_regexp_make mutable
function caml_regexp_make (vs, vf) {
  var s = vs.toString();
  var f = vf.toString();
  return new RegExp (s, f);
}

//Provides: caml_regexp_split mutable
function caml_regexp_split (vr, vs) {
    var r = vr ;
    var s = vs.toString() ;
    var res = s.split (r);
    var vres = [0];
    for (var i = 0;i < res.length;i++) {
{'fraction_non_alphanumeric': 0.1560133292941533, 'fraction_numerical': 0.00969403211148137, 'mean_word_length': 4.041221374045802, 'pattern_counts': {'":': 0, '<': 7, '<?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': '6173245', 'n_tokens_mistral': 1402, 'n_tokens_neox': 1387, 'n_words': 350}