<commit_before>/*
 * Copyrights phwang
 * Written by <NAME>
 * File name: go_dlink.js
 */

module.exports = {
    malloc: function (root_object_val) {
        return new GoBaseMgrClass(root_object_val);
    },
};

function GoBaseMgrClass(root_object_val) {
    "use strict";

    this.init__ = function (root_object_val) {
        this.theRootObject = root_object_val;
        this.debug(true, "init__", "");
    };

    this.objectName = function () {
        return "GoBaseMgrClass";
    };

    this.rootObject = function () {
        return this.theRootObject;<commit_msg>matrix<commit_after>/*
 * Copyrights phwang
 * Written by <NAME>
 * File name: go_dlink.js
 */

var the_go_base_mgr_object = null;

module.exports = {
    malloc: function (root_object_val) {
        the_go_base_mgr_object = new GoBaseMgrClass(root_object_val);
        return the_go_base_mgr_object;
    },

    get_the_go_base_mgr_object: function () {
        return the_go_base_mgr_object;
    },

    malloc_base: function () {
        return the_go_base_mgr_object.mallocBase();
    },

    receive_data: function (base_id_val, data_val) {
        the_go_base_mgr_object.receiveData(base_id_val, data_val);
    },

    transmit_data: function (base_id_val) {
        return the_go_base_mgr_object.transmitData(base_id_val);
    },
};

function GoBaseMgrClass(root_object_val) {
    "use strict";

    this.init__ = function (root_object_val) {
        this.theRootObject = root_object_val;
        this.debug(true, "init__", "");
    };

    this.objectName = function () {
        return "GoBaseMgrClass";
    };

    this.rootObject = function () {
        return this.theRootObject;
{'fraction_non_alphanumeric': 0.11097780443911218, 'fraction_numerical': 0.0, 'mean_word_length': 3.0583941605839415, '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': '3092917', 'n_tokens_mistral': 571, 'n_tokens_neox': 568, 'n_words': 93}