Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(722)

Unified Diff: patched-yasm/tools/genperf/perfect.c

Issue 9580022: Silence genperf's success-related chatter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/yasm/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « README.chromium ('k') | patches/04_silence_genperf_chatter.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: patched-yasm/tools/genperf/perfect.c
===================================================================
--- patched-yasm/tools/genperf/perfect.c (revision 124732)
+++ patched-yasm/tools/genperf/perfect.c (working copy)
@@ -673,7 +673,7 @@
sprintf(final->line[0], " unsigned long rsl = (a ^ scramble[tab[b]]);\n");
}
- printf("success, found a perfect hash\n");
+ /* printf("success, found a perfect hash\n"); */
Nico 2012/03/02 21:32:48 Can you delete them instead?
free((void *)tabq);
free((void *)tabh);
@@ -903,7 +903,7 @@
continue; /* two keys have same (a,b) pair */
}
- printf("found distinct (A,B) on attempt %ld\n", trysalt);
+ /* printf("found distinct (A,B) on attempt %ld\n", trysalt); */
/* Given distinct (A,B) for all keys, build a perfect hash */
if (!perfect(*tabb, *tabh, tabq, *blen, *smax, scramble, nkeys, form))
@@ -934,7 +934,7 @@
break;
}
- printf("built perfect hash table of size %ld\n", *blen);
+ /* printf("built perfect hash table of size %ld\n", *blen); */
/* free working memory */
free((void *)tabq);
@@ -1145,7 +1145,7 @@
/* read in the list of keywords */
getkeys(&keys, &nkeys, textroot, keyroot, form);
- printf("Read in %ld keys\n",nkeys);
+ /* printf("Read in %ld keys\n",nkeys); */
/* find the hash */
findhash(&tab, &alen, &blen, &salt, &final,
@@ -1153,13 +1153,13 @@
/* generate the phash.c file */
make_c(tab, smax, blen, scramble, &final, form);
- printf("Wrote phash.c\n");
+ /* printf("Wrote phash.c\n"); */
/* clean up memory sources */
refree(textroot);
refree(keyroot);
free((void *)tab);
- printf("Cleaned up\n");
+ /* printf("Cleaned up\n"); */
}
« no previous file with comments | « README.chromium ('k') | patches/04_silence_genperf_chatter.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698