mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-02 08:12:42 -06:00
.autotest
git-svn-id: svn://ultimatepp.org/upp/trunk@10139 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
71fc06925a
commit
f145fbda1f
2 changed files with 4 additions and 4 deletions
|
|
@ -57,7 +57,7 @@ CONSOLE_APP_MAIN
|
|||
FileIn in(file);
|
||||
FileOut out(zstd);
|
||||
ZstdCompressStream zstd(out);
|
||||
zstd.Concurrent(concurrent);
|
||||
zstd.Co(concurrent);
|
||||
int ch = 0;
|
||||
for(;;) {
|
||||
String data = in.Get(smll ? (++ch & 511) + 1 : 1024*1024);
|
||||
|
|
@ -74,7 +74,7 @@ CONSOLE_APP_MAIN
|
|||
FileIn in(zstd);
|
||||
FileOut out(dec);
|
||||
ZstdDecompressStream zstd(in);
|
||||
zstd.Concurrent(concurrent);
|
||||
zstd.Co(concurrent);
|
||||
int ch = 0;
|
||||
for(;;) {
|
||||
String data = zstd.Get(smll ? (++ch & 511) + 1 : 1024*1024);
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ CONSOLE_APP_MAIN
|
|||
FileIn in(file);
|
||||
FileOut out(lz4);
|
||||
LZ4CompressStream lz4(out);
|
||||
lz4.Concurrent(concurrent);
|
||||
lz4.Co(concurrent);
|
||||
int ch = 0;
|
||||
for(;;) {
|
||||
String data = in.Get(smll ? (++ch & 511) + 1 : 1024*1024);
|
||||
|
|
@ -72,7 +72,7 @@ CONSOLE_APP_MAIN
|
|||
FileIn in(lz4);
|
||||
FileOut out(dec);
|
||||
LZ4DecompressStream lz4(in);
|
||||
lz4.Concurrent(concurrent);
|
||||
lz4.Co(concurrent);
|
||||
int ch = 0;
|
||||
for(;;) {
|
||||
String data = lz4.Get(smll ? (++ch & 511) + 1 : 1024*1024);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue