mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
Convert names to CamelCase
This commit is contained in:
committed by
W. Felix Handte
parent
b70175e5ec
commit
b6b23dfe64
@ -1598,16 +1598,16 @@ FIO_compressFilename_internal(FIO_ctx_t* const fCtx,
|
||||
(unsigned long long)readsize, (unsigned long long) compressedfilesize,
|
||||
dstFileName);
|
||||
} else {
|
||||
char input_size_str[8] = "";
|
||||
human_size((unsigned long long) readsize, input_size_str);
|
||||
char inputSizeStr[8] = "";
|
||||
humanSize((unsigned long long) readsize, inputSizeStr);
|
||||
|
||||
char output_size_str[8] = "";
|
||||
human_size((unsigned long long) compressedfilesize, output_size_str);
|
||||
char outputSizeStr[8] = "";
|
||||
humanSize((unsigned long long) compressedfilesize, outputSizeStr);
|
||||
|
||||
DISPLAYLEVEL(2,"%-20s :%6.2f%% (%s => %s, %s) \n",
|
||||
srcFileName,
|
||||
(double)compressedfilesize / (double)readsize * 100,
|
||||
input_size_str, output_size_str,
|
||||
inputSizeStr, outputSizeStr,
|
||||
dstFileName);
|
||||
}
|
||||
}
|
||||
|
@ -121,7 +121,7 @@ int UTIL_requireUserConfirmation(const char* prompt, const char* abortMsg,
|
||||
* Functions
|
||||
***************************************/
|
||||
|
||||
char* human_size(long size, char* str) {
|
||||
char* humanSize(long size, char* str) {
|
||||
if (size > 1125899906842624L) {
|
||||
snprintf(str, 7, "%.1fP", (float)size / 1125899906842624L);
|
||||
} else if (size > 1099511627776L) {
|
||||
|
@ -122,7 +122,7 @@ int UTIL_requireUserConfirmation(const char* prompt, const char* abortMsg, const
|
||||
#define STRDUP(s) strdup(s)
|
||||
#endif
|
||||
|
||||
char* human_size(long size, char* str);
|
||||
char* humanSize(long size, char* str);
|
||||
|
||||
/**
|
||||
* Calls platform's equivalent of stat() on filename and writes info to statbuf.
|
||||
|
Reference in New Issue
Block a user