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-16 22:43:46 +0200
commitd7d0f7503456c3d275a49f90be35e03f02c51bbd (patch)
tree9f4fb63bfba260f01ad92dc7d5e1aa793498e4a7 /minzip/Hash.c
parentam 48248273: am 307eecfd: am 0bacbfd0: Merge "recovery: Switch applypatch/ and updater/ to cpp." (diff)
downloadandroid_bootable_recovery-d7d0f7503456c3d275a49f90be35e03f02c51bbd.tar
android_bootable_recovery-d7d0f7503456c3d275a49f90be35e03f02c51bbd.tar.gz
android_bootable_recovery-d7d0f7503456c3d275a49f90be35e03f02c51bbd.tar.bz2
android_bootable_recovery-d7d0f7503456c3d275a49f90be35e03f02c51bbd.tar.lz
android_bootable_recovery-d7d0f7503456c3d275a49f90be35e03f02c51bbd.tar.xz
android_bootable_recovery-d7d0f7503456c3d275a49f90be35e03f02c51bbd.tar.zst
android_bootable_recovery-d7d0f7503456c3d275a49f90be35e03f02c51bbd.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);
}