* fixing typos in accidental checkin
From-SVN: r88463
This commit is contained in:
parent
3f75a25471
commit
bf50d091ca
@ -7,14 +7,14 @@ char a[SIZE];
|
||||
|
||||
int main ()
|
||||
{
|
||||
int i, j=0;
|
||||
int i, j=0, k;
|
||||
int a_before_b = (& a[0] < & b[0]);
|
||||
/* Rather than iterating linearly, which would allow loop unrolling
|
||||
and mapping to pointer manipulation, we traverse the "joined"
|
||||
arrays in some random order. */
|
||||
for (i=0; i<SIZE*2; i++)
|
||||
{
|
||||
k=rand()%(SIZE*2))
|
||||
k = rand() % (SIZE*2);
|
||||
j += (a_before_b ? a[k] : b[k]);
|
||||
}
|
||||
return j;
|
||||
|
Loading…
Reference in New Issue
Block a user