.autotest

git-svn-id: svn://ultimatepp.org/upp/trunk@9192 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-11-18 18:38:28 +00:00
parent 4b03bead0b
commit bf4a363c5c
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ using namespace Upp;
CONSOLE_APP_MAIN
{
StdLogSetup(LOG_FILE|LOG_COUT);
const int64 sz = (int64)5 * 1000 * 1000 * 1000;
const int64 sz = (int64)2 * 1000 * 1000 * 1000;
String path = GetHomeDirFile("test.bin");
{
Buffer<byte> big(sz);

View file

@ -43,7 +43,7 @@ void test_compress(FILE* outFp, FILE* inpFp)
char inpBuf[2][BLOCK_BYTES];
int inpBufIndex = 0;
Zero(inpBuf);
Zero(inpBuf);
for(;;) {
char* const inpPtr = inpBuf[inpBufIndex];
@ -295,7 +295,7 @@ CONSOLE_APP_MAIN
if(matchOffsetStat[i]) {
LOG(i << " " << matchOffsetStat[i]);
if(i > 1)
over512 += matchOffsetStat[i];
over512 += matchOffsetStat[i];
}
DDUMP(over512);
LOG("--------- MATCH LENGTH -----------");