Changeset 342 for trunk/tests/c/test-nom-2.c
- Timestamp:
- May 24, 2008, 4:45:32 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/tests/c/test-nom-2.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/c/test-nom-2.c
r341 r342 274 274 g_message("Allocated %d chunks of %d bytes of memory -> %d bytes. Allocated %d objects.", NUMALLOCS, MEMSIZE*a, NUMALLOCS*MEMSIZE*a, NUMALLOCS); 275 275 } 276 g_message("Allocated %d objects at all.", NUMALLOCS* a);276 g_message("Allocated %d objects at all.", NUMALLOCS*(a-1)); 277 277 278 278 … … 282 282 283 283 284 for(a =1; a<=100;a++)284 for(a =1; a<=100;a++) 285 285 { 286 286 int b; … … 312 312 g_message("Allocated %d chunks of %d bytes of memory -> %d bytes. Allocated %d objects.", NUMALLOCS, MEMSIZE*a, NUMALLOCS*MEMSIZE*a, NUMALLOCS); 313 313 } 314 g_message("Allocated %d objects at all.", NUMALLOCS* a);314 g_message("Allocated %d objects at all.", NUMALLOCS*(a-1)); 315 315 316 316 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.
