summaryrefslogtreecommitdiffstats
path: root/minzip/Hash.c
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-07-15 23:13:06 +0200
committerTao Bao <tbao@google.com>2015-07-17 07:12:32 +0200
commitdd4d9818a8ed8a52e967389483d1a35491218af2 (patch)
treeb2dde21842436572842965560f384ec14a1b41b5 /minzip/Hash.c
parentMerge "recovery: Switch applypatch/ and updater/ to cpp." (diff)
downloadandroid_bootable_recovery-dd4d9818a8ed8a52e967389483d1a35491218af2.tar
android_bootable_recovery-dd4d9818a8ed8a52e967389483d1a35491218af2.tar.gz
android_bootable_recovery-dd4d9818a8ed8a52e967389483d1a35491218af2.tar.bz2
android_bootable_recovery-dd4d9818a8ed8a52e967389483d1a35491218af2.tar.lz
android_bootable_recovery-dd4d9818a8ed8a52e967389483d1a35491218af2.tar.xz
android_bootable_recovery-dd4d9818a8ed8a52e967389483d1a35491218af2.tar.zst
android_bootable_recovery-dd4d9818a8ed8a52e967389483d1a35491218af2.zip
Diffstat (limited to '')
-rw-r--r--minzip/Hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/minzip/Hash.c b/minzip/Hash.c
index 8f8ed68e5..49bcb3161 100644
--- a/minzip/Hash.c
+++ b/minzip/Hash.c
@@ -361,7 +361,7 @@ void mzHashTableProbeCount(HashTable* pHashTable, HashCalcFunc calcFunc,
{
const void* data = (const void*)mzHashIterData(&iter);
int count;
-
+
count = countProbes(pHashTable, (*calcFunc)(data), data, cmpFunc);
numEntries++;
@@ -373,7 +373,7 @@ void mzHashTableProbeCount(HashTable* pHashTable, HashCalcFunc calcFunc,
totalProbe += count;
}
- LOGI("Probe: min=%d max=%d, total=%d in %d (%d), avg=%.3f\n",
+ LOGV("Probe: min=%d max=%d, total=%d in %d (%d), avg=%.3f\n",
minProbe, maxProbe, totalProbe, numEntries, pHashTable->tableSize,
(float) totalProbe / (float) numEntries);
}