<commit_before>var net = require('net');

var Server = net.Server.prototype;
var PipeWrap = process.binding('pipe_wrap');
var Pipe = PipeWrap.Pipe;

var oldListen = Server.listen;
Server.listen = function () {
    var self = this;

    if (arguments.length === 1 && arguments[0] === 'systemd') {
        if (!process.env.LISTEN_FDS || parseInt(process.env.LISTEN_FDS, 10) !== 1) {
            throw(new Error('No or too many file descriptors received.'));
        }

        if (PipeWrap.constants && typeof PipeWrap.constants.SOCKET !== 'undefined') {
          self._handle = new Pipe(PipeWrap.constants.SOCKET);
        }
        else {
          self._handle = new Pipe();
        }
        self._handle.open(3);
        self._listen2(null, -1, -1);
    } else {
        oldListen.apply(self, arguments);
    }
    return self;
};<commit_msg>Reformat<commit_after>var net = require('net');

var Server = net.Server.prototype;
var PipeWrap = process.binding('pipe_wrap');
var Pipe = PipeWrap.Pipe;

var oldListen = Server.listen;
Server.listen = function () {
    var self = this;

    if (arguments.length === 1 && arguments[0] === 'systemd') {
        if (!process.env.LISTEN_FDS || parseInt(process.env.LISTEN_FDS, 10) !== 1) {
            throw(new Error('No or too many file descriptors received.'));
        }

        if (PipeWrap.constants && typeof PipeWrap.constants.SOCKET !== 'undefined') {
            self._handle = new Pipe(PipeWrap.constants.SOCKET);
        }
        else {
            self._handle = new Pipe();
        }
        self._handle.open(3);
        self._listen2(null, -1, -1);
    } else {
        oldListen.apply(self, arguments);
    }
    return self;
};
{'fraction_non_alphanumeric': 0.14902424600827913, 'fraction_numerical': 0.010644589000591367, 'mean_word_length': 2.488659793814433, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1594552', 'n_tokens_mistral': 540, 'n_tokens_neox': 533, 'n_words': 118}