<commit_before>
/* !
 * vector3
 * JavaScript math library for 3d vector
 * Copyright (c) 2012 <NAME> (http://onirame.no.de)
 * MIT License
 */

 !(function (exports) {

  /**
   * Library namespace.
   */

  var vector3 = exports.vector3 = {};

  /**
   * Library version.
   */

  vector3.version = '0.0.0';

  /**
   * create
   * Create a 3d vector.
   * 
   * @return {Float32Array} 3d vector
   * @api public
   */

  vector3.create = function () {
    return new Float32Array([0.0, 0.0, 0.0]);
  };

 }(this));<commit_msg>added vector3.set<commit_after>
/* !
 * vector3
 * JavaScript math library for 3d vector
 * Copyright (c) 2012 <NAME> (http://onirame.no.de)
 * MIT License
 */

 !(function (exports) {

  /**
   * Library namespace.
   */

  var vector3 = exports.vector3 = {};

  /**
   * Library version.
   */

  vector3.version = '0.0.0';

  /**
   * create
   * Create a 3d vector.
   * 
   * @return {Float32Array} 3d vector
   * @api public
   */

  vector3.create = function () {
    return new Float32Array([0.0, 0.0, 0.0]);
  };

  /**
   * set
   * Set vector.
   * 
   * @param {Float32Array} self destination vector
   * @param {Float32Array} v source vector
   * @return {Float32Array} destination vector
   * @api public
   */

  vector3.set = function (self, v) {
    self[0] = v[0];
    self[1] = v[1];
    self[2] = v[2];

    return self;
  };

 }(this));
{'fraction_non_alphanumeric': 0.16955266955266957, 'fraction_numerical': 0.046176046176046176, 'mean_word_length': 2.2789598108747047, 'pattern_counts': {'":': 0, '<': 5, '<?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': '429399', 'n_tokens_mistral': 544, 'n_tokens_neox': 496, 'n_words': 121}