xml2js0.6.23.2 MB
Shown as plain text from the published tarball, after apm checked it against the version's checksum. Nothing in it runs on this page.
caml_invalid_argument("index out of bounds");
}
function caml_bytes_unsafe_set(s, i, c){
c &= 0xff;
if(s.t != 4){
if(i == s.c.length){
s.c += String.fromCharCode(c);
if(i + 1 == s.l) s.t = 0;
return 0;
}
caml_convert_bytes_to_array(s);
}
s.c[i] = c;
return 0;
}
function caml_bytes_set(s, i, c){
if(i >>> 0 >= s.l) caml_bytes_bound_error();
return caml_bytes_unsafe_set(s, i, c);
}
function MlNodeFd(fd, flags){
this.fs = require("fs");
this.fd = fd;
this.flags = flags;
}
MlNodeFd.prototype = new MlFile();
MlNodeFd.prototype.constructor = MlNodeFd;
MlNodeFd.prototype.truncate =
function(len){
try{this.fs.ftruncateSync(this.fd, len | 0);}
catch(err){caml_raise_sys_error(err.toString());}
};
MlNodeFd.prototype.length =
function(){
try{return this.fs.fstatSync(this.fd).size;}
catch(err){caml_raise_sys_error(err.toString());}
};
MlNodeFd.prototype.write =
function(offset, buf, buf_offset, len){
try{
if(this.flags.isCharacterDevice)
this.fs.writeSync(this.fd, buf, buf_offset, len);
This file is 3.2 MB, over the 1.0 MB the full view shows, so apm shows the lines around the cited one. Lines longer than 4 kB are cut.