mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Get rid of trailing whitespace
This commit is contained in:
parent
1a7c409e10
commit
2db75fe408
|
|
@ -179,7 +179,7 @@ struct rzip_control {
|
||||||
int fd_out;
|
int fd_out;
|
||||||
md5_ctx ctx;
|
md5_ctx ctx;
|
||||||
void *data; // random data pointer associated for use in callbacks
|
void *data; // random data pointer associated for use in callbacks
|
||||||
i64 md5_read; // How far into the file the md5 has done so far
|
i64 md5_read; // How far into the file the md5 has done so far
|
||||||
};
|
};
|
||||||
|
|
||||||
struct stream {
|
struct stream {
|
||||||
|
|
|
||||||
4
main.c
4
main.c
|
|
@ -251,7 +251,7 @@ static void show_summary(void)
|
||||||
print_verbose("ZPAQ. LZO Compressibility testing %s\n", (LZO_TEST? "enabled" : "disabled"));
|
print_verbose("ZPAQ. LZO Compressibility testing %s\n", (LZO_TEST? "enabled" : "disabled"));
|
||||||
else if (NO_COMPRESS)
|
else if (NO_COMPRESS)
|
||||||
print_verbose("RZIP pre-processing only\n");
|
print_verbose("RZIP pre-processing only\n");
|
||||||
if (control.window)
|
if (control.window)
|
||||||
print_verbose("Compression Window: %lld = %lldMB\n", control.window, control.window * 100ull);
|
print_verbose("Compression Window: %lld = %lldMB\n", control.window, control.window * 100ull);
|
||||||
/* show heuristically computed window size */
|
/* show heuristically computed window size */
|
||||||
if (!control.window && !UNLIMITED) {
|
if (!control.window && !UNLIMITED) {
|
||||||
|
|
@ -262,7 +262,7 @@ static void show_summary(void)
|
||||||
temp_chunk = temp_ramsize / 3;
|
temp_chunk = temp_ramsize / 3;
|
||||||
else
|
else
|
||||||
temp_chunk = temp_ramsize / 3 * 2;
|
temp_chunk = temp_ramsize / 3 * 2;
|
||||||
temp_window = temp_chunk / (100 * 1024 * 1024);
|
temp_window = temp_chunk / (100 * 1024 * 1024);
|
||||||
print_verbose("Heuristically Computed Compression Window: %lld = %lldMB\n", temp_window, temp_window * 100ull);
|
print_verbose("Heuristically Computed Compression Window: %lld = %lldMB\n", temp_window, temp_window * 100ull);
|
||||||
}
|
}
|
||||||
if (UNLIMITED)
|
if (UNLIMITED)
|
||||||
|
|
|
||||||
2
md5.c
2
md5.c
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
Copyright (C) 2011 Con Kolivas
|
Copyright (C) 2011 Con Kolivas
|
||||||
Copyright (C) 1995-2011 Ulrich Drepper.
|
Copyright (C) 1995-2011 Ulrich Drepper.
|
||||||
|
|
||||||
Functions to compute MD5 message digest of files or memory blocks.
|
Functions to compute MD5 message digest of files or memory blocks.
|
||||||
according to the definition of MD5 in RFC 1321 from April 1992.
|
according to the definition of MD5 in RFC 1321 from April 1992.
|
||||||
Copyright (C) 1995-1997, 1999-2001, 2005-2006, 2008-2011 Free Software
|
Copyright (C) 1995-1997, 1999-2001, 2005-2006, 2008-2011 Free Software
|
||||||
|
|
|
||||||
2
md5.h
2
md5.h
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
Copyright (C) 2011 Con Kolivas
|
Copyright (C) 2011 Con Kolivas
|
||||||
Copyright (C) 1995-2011 Ulrich Drepper.
|
Copyright (C) 1995-2011 Ulrich Drepper.
|
||||||
|
|
||||||
|
|
|
||||||
2
stream.c
2
stream.c
|
|
@ -773,7 +773,7 @@ void prepare_streamout_threads(rzip_control *control)
|
||||||
if (unlikely(!cthread))
|
if (unlikely(!cthread))
|
||||||
fatal("Unable to calloc cthread in prepare_streamout_threads\n");
|
fatal("Unable to calloc cthread in prepare_streamout_threads\n");
|
||||||
|
|
||||||
for (i = 0; i < control->threads; i++)
|
for (i = 0; i < control->threads; i++)
|
||||||
init_mutex(&cthread[i].mutex);
|
init_mutex(&cthread[i].mutex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue