k****i 发帖数: 101 | 1 var fs = require('fs'),
zlib = require('zlib'),
csv = require('csv'),
P = require('paralleljs'),
ind = process.argv[2] + '/',
outd = process.argv[3] + '/',
files = fs.readdirSync(ind),
p = new P(files),
ins = function(file){return fs.createReadStream(ind+file)},
gnuzip = zlib.createGnuzip(),
parse = csv.parse(),
transform = csv.transform(function(rdata){/*todo*/}),
gzip = zip.createGzip(),
out = function(fil... 阅读全帖 |
|
d****e 发帖数: 251 | 2 unsigned bi_reverse(code, len)
unsigned code; /* the value to invert */
int len; /* its bit length */
{
...
}
一,单独的unsigned是什么意思啊
二,参数分行
我平常没看到过这样的写法,这是从gnuzip里面看到的。 |
|
s****e 发帖数: 68 | 3 i dl some paper from online with *.ps.gz format.
i thought they are compressed files and tried to use
gzip or gnuzip to decompress but always comes out like
" they are not in gzip format"
then later i found they are simply postscript files or
some "compressed ps files" and can be viewed directly
by ghostview.
anyone knows why or what is it? thanks. |
|
s****e 发帖数: 68 | 4 however, i use IE...
i still think there is some kind of "Compressed Postcript"
which may be viewed directly by ghostview, maybe because
ghostview has build-in decompressor. maybe i am wrong.
i think they are compressed by something else but not
regular pkzip, gzip, gnuzip... |
|