summaryrefslogtreecommitdiffstats
path: root/minzip/Hash.c
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-07-17 07:13:43 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-07-17 07:13:44 +0200
commit025c0e79c3e05babd4df0bab8249466b489c0870 (patch)
treeb2dde21842436572842965560f384ec14a1b41b5 /minzip/Hash.c
parentMerge "recovery: Switch applypatch/ and updater/ to cpp." (diff)
parentClean up LOG functions. (diff)
downloadandroid_bootable_recovery-025c0e79c3e05babd4df0bab8249466b489c0870.tar
android_bootable_recovery-025c0e79c3e05babd4df0bab8249466b489c0870.tar.gz
android_bootable_recovery-025c0e79c3e05babd4df0bab8249466b489c0870.tar.bz2
android_bootable_recovery-025c0e79c3e05babd4df0bab8249466b489c0870.tar.lz
android_bootable_recovery-025c0e79c3e05babd4df0bab8249466b489c0870.tar.xz
android_bootable_recovery-025c0e79c3e05babd4df0bab8249466b489c0870.tar.zst
android_bootable_recovery-025c0e79c3e05babd4df0bab8249466b489c0870.zip
Diffstat (limited to 'minzip/Hash.c')
-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);
}