<commit_before>/**
 * Created by Corey600 on 2016/6/15.
 */

'use strict';

var net = require('net');
var debug = require('debug');
var hessian = require('hessian.js');

var response = require('./response');

var error = debug('zoodubbo:error');
var info = debug('zoodubbo:info');

// header length.
const HEADER_LENGTH = 16;

// magic header.
const MAGIC = 0xdabb;

const MAGIC_HIGH = MAGIC>>8;

const MAGIC_LOW = MAGIC & 0x00ff;

// message flag.
const FLAG_REQUEST = 0x80;

const FLAG_TWOWAY = 0x40;

const FLAG_EVENT = 0x20;

const SERIALIZATION_MASK = 0x1f;
<commit_msg>use var instead of const<commit_after>/**
 * Created by Corey600 on 2016/6/15.
 */

'use strict';

var net = require('net');
var debug = require('debug');
var hessian = require('hessian.js');

var response = require('./response');

var error = debug('zoodubbo:error');
var info = debug('zoodubbo:info');

// header length.
var HEADER_LENGTH = 16;

// magic header.
var MAGIC = 0xdabb;

var MAGIC_HIGH = MAGIC>>8;

var MAGIC_LOW = MAGIC & 0x00ff;

// message flag.
var FLAG_REQUEST = 0x80;

var FLAG_TWOWAY = 0x40;

var FLAG_EVENT = 0x20;

var SERIALIZATION_MASK = 0x1f;

{'fraction_non_alphanumeric': 0.1467248908296943, 'fraction_numerical': 0.04890829694323144, 'mean_word_length': 4.1855203619909505, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1301288', 'n_tokens_mistral': 485, 'n_tokens_neox': 430, 'n_words': 118}