<commit_before><library>
<script when="immediate">
<![CDATA[


/* LZ_COPYRIGHT_BEGIN */
/****************************************************************************
 * Copyright (c) 2001-2007 Laszlo Systems, Inc.  All Rights Reserved.       *
 * Use is subject to license terms                                          *
 ****************************************************************************/
/* LZ_COPYRIGHT_END */

//======================================================================
// DEFINE OBJECT: LzRPC
//
// Implements an object to make remote java direct and XMLRPC calls.
//======================================================================
class LzRPC {

// object used for void return types
static var t_void = { type: 'void' };

// @keywords private
static var __LZloaderpool = [];

//------------------------------------------------------------------------------
// @param Number num: number to pass down to explicitly cast to a double
//------------------------------------------------------------------------------
static function DoubleWrapper (num) {
    this.num = num;
}

//------------------------------------------------------------
// Global RPC sequence number for server requests.
//------------------------------------------------------------
static var __LZseqnum = 0;

//------------------------------------------------------------------------------
// Override loader's returnData function. Call appropritate delegate.
// @keywords private
//------------------------------------------------------------------------------
function __LZloaderReturnData (loadmc, data, responseheaders) {

    // FIXME [2005-06-28 pkang]: would be nice to fix this in the platform.

    Debug.write('__LZloaderReturnData', 'data=', data);
    Debug.write('... loadmc=', loadmc);
    Debug.write('...responseheaders=', responseheaders);

    _root.LzLoadQueue.loadFinished( loadmc );

    var delegate = null;
    var opinfo   =  {};
    var seqnum   =  -1;

    if ('rpcinfo' in this) {

        delegate = this.rpcinfo.delegate;
        opinfo   = ('opinfo' in this.rpcinfo) ? this.rpcinfo.opinfo : opinfo;
        seqnum   = this.rpcinfo.seqnum;
        delete this.rpcinfo;
    } 

    // responseheaders is specific to SOAP -pk
    opinfo.responseheaders = (responseheaders!=null ? responseheaders : null);

    // check to see if the data is the stub 
    if ( data['__LZstubload'] ) {

        Debug.write(data);
        var stub = data.stub;
        var stubinfo = data.stubinfo;<commit_msg>remove debug print statements<commit_after><library>
<script when="immediate">
<![CDATA[


/* LZ_COPYRIGHT_BEGIN */
/****************************************************************************
 * Copyright (c) 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.       *
 * Use is subject to license terms                                          *
 ****************************************************************************/
/* LZ_COPYRIGHT_END */

//======================================================================
// DEFINE OBJECT: LzRPC
//
// Implements an object to make remote java direct and XMLRPC calls.
//======================================================================
class LzRPC {

// object used for void return types
static var t_void = { type: 'void' };

// @keywords private
static var __LZloaderpool = [];

//------------------------------------------------------------------------------
// @param Number num: number to pass down to explicitly cast to a double
//------------------------------------------------------------------------------
static function DoubleWrapper (num) {
    this.num = num;
}

//------------------------------------------------------------
// Global RPC sequence number for server requests.
//------------------------------------------------------------
static var __LZseqnum = 0;

//------------------------------------------------------------------------------
// Override loader's returnData function. Call appropritate delegate.
// @keywords private
//------------------------------------------------------------------------------
function __LZloaderReturnData (loadmc, data, responseheaders) {

    // FIXME [2005-06-28 pkang]: would be nice to fix this in the platform.

    _root.LzLoadQueue.loadFinished( loadmc );

    var delegate = null;
    var opinfo   =  {};
    var seqnum   =  -1;

    if ('rpcinfo' in this) {

        delegate = this.rpcinfo.delegate;
        opinfo   = ('opinfo' in this.rpcinfo) ? this.rpcinfo.opinfo : opinfo;
        seqnum   = this.rpcinfo.seqnum;
        delete this.rpcinfo;
    } 

    // responseheaders is specific to SOAP -pk
    opinfo.responseheaders = (responseheaders!=null ? responseheaders : null);

    // check to see if the data is the stub 
    if ( data['__LZstubload'] ) {

        Debug.write(data);
        var stub = data.stub;
        var stubinfo = data.stubinfo;
{'fraction_non_alphanumeric': 0.3767318663406683, 'fraction_numerical': 0.007334963325183374, 'mean_word_length': 1.6449353448275863, 'pattern_counts': {'":': 0, '<': 9, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6597253', 'n_tokens_mistral': 1168, 'n_tokens_neox': 1081, 'n_words': 336}