STYLE: uniform 'Test-' prefix for all applications/test

- easier to clean, avoid confusion with 'real' applications, etc.
This commit is contained in:
Mark Olesen
2010-11-23 16:26:04 +01:00
parent e5cf4f093e
commit 499d48cfdb
225 changed files with 215 additions and 272 deletions

View File

@ -0,0 +1,30 @@
#include "stream.h"
#include <unistd.h>
#include <stdlib.h>
main()
{
int *ptrs[500000];
cerr << "allocating ints\n";
for (int i=0; i<500000; i++)
{
ptrs[i] = (int*)malloc(sizeof(int));
}
// for (;;);
cerr << "deallocating ints\n";
for (i=0; i<500000; i++)
{
free(ptrs[i]);
}
cerr << "allocating double\n";
double* array = (double*)malloc(500000*sizeof(double));
for (;;);
}