Ejemplo n.º 1
0
Archivo: obuf.c Proyecto: mantyr/small
static void
basic_alloc_streak(struct obuf *buf)
{
	int oscillation = rand() % OSCILLATION_MAX;
	int i;

	for (i = 0; i < oscillation; ++i)
		alloc_checked(buf);
}
Ejemplo n.º 2
0
static void
basic_alloc_streak()
{
	int oscillation = rand() % OSCILLATION_MAX;
	int i;

	for (i = 0; i < oscillation; ++i) {
		alloc_checked();
	}
}