<commit_before>/**
 * @file NodeJS specific stream implementation
 */
/*#ifndef(UMD)*/
"use strict";
/*global _GPF_EVENT_DATA*/ // gpf.events.EVENT_DATA
/*global _GPF_EVENT_END_OF_DATA*/ // gpf.events.EVENT_END_OF_DATA
/*global _GPF_EVENT_ERROR*/ // gpf.events.EVENT_ERROR
/*global _GPF_EVENT_READY*/ // gpf.events.EVENT_READY
/*global _gpfAssert*/ // Assertion method
/*global _gpfDefine*/ // Shortcut for gpf.define
/*global _gpfEventsFire*/ // gpf.events.fire (internal, parameters must match)
/*global _gpfI*/ // gpf.interfaces
/*global _gpfIgnore*/ // Helper to remove unused parameter warning
/*global _gpfInNode*/ // The current host is a nodeJS like
/*exported _GpfNodeStream*/ // Encapsulation of nodeJS streams
/*#endif*/

if (_gpfInNode) {

    var // Base class of GPF NodeJS streams
        _GpfNodeStream = _gpfDefine("gpf.node.Stream", {
            "+": {

                // @param {Object} stream
                constructor: function (stream) {
                    this._stream = stream;
                },

                /**
                 * Close the current stream
                 *
                 * @param {gpf.events.Handler} eventsHandler
                 *
                 * @event gpf.events.EVENT_READY
                 */
                close: function (eventsHandler) {<commit_msg>Removes _gpfInNode<commit_after>/**
 * @file NodeJS specific stream implementation
 */
/*#ifndef(UMD)*/
"use strict";
/*global _GPF_EVENT_DATA*/ // gpf.events.EVENT_DATA
/*global _GPF_EVENT_END_OF_DATA*/ // gpf.events.EVENT_END_OF_DATA
/*global _GPF_EVENT_ERROR*/ // gpf.events.EVENT_ERROR
/*global _GPF_EVENT_READY*/ // gpf.events.EVENT_READY
/*global _gpfAssert*/ // Assertion method
/*global _gpfDefine*/ // Shortcut for gpf.define
/*global _gpfEventsFire*/ // gpf.events.fire (internal, parameters must match)
/*global _gpfI*/ // gpf.interfaces
/*global _gpfIgnore*/ // Helper to remove unused parameter warning
/*global _GPF_HOST*/
/*global _gpfHost*/
/*exported _GpfNodeStream*/ // Encapsulation of nodeJS streams
/*#endif*/

if (_GPF_HOST.NODEJS === _gpfHost) {

    var // Base class of GPF NodeJS streams
        _GpfNodeStream = _gpfDefine("gpf.node.Stream", {
            "+": {

                // @param {Object} stream
                constructor: function (stream) {
                    this._stream = stream;
                },

                /**
                 * Close the current stream
                 *
                 * @param {gpf.events.Handler} eventsHandler
                 *
                 * @event gpf.events.EVENT_READY
                 */
                close: function (eventsHandler) {
{'fraction_non_alphanumeric': 0.12320483749055178, 'fraction_numerical': 0.0, 'mean_word_length': 2.06720741599073, 'pattern_counts': {'":': 2, '<': 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': '722874', 'n_tokens_mistral': 798, 'n_tokens_neox': 775, 'n_words': 187}