Skip to content

Instantly share code, notes, and snippets.

@awreece
Last active December 11, 2015 00:09
Show Gist options
  • Save awreece/4514368 to your computer and use it in GitHub Desktop.
Save awreece/4514368 to your computer and use it in GitHub Desktop.
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char** argv) {
uint32_t* inarray = (uint32_t*) malloc(1ULL<<22);
size_t i;
for (i = 0; i < (1ULL<<22); i++) {
narray[i] = rand() % 50;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment