Tous les codes sourcespage 64
C++
07 Juin, 2014 à 02:30
#162
if ((o = memwrap_realloc(o, sizeof (*o) + (max - 1) * sizeof (*o->item))) == NULL)
return; /* COVERAGE EXCLUSION: We don't test memwrap_realloc() failures */
if ((len = snprintf(buf, bufsz, "%s%u", i ? "," : "", list->item[i])) >= bufsz)
break; /* COVERAGE EXCLUSION: We don't test overflows */
Markup
06 Juin, 2014 à 10:54
#153
//Best thing ever i saw in a style guideline is:
//"Always use var++ instead of ++var"
//For cosmetic reasons