summaryrefslogtreecommitdiff
path: root/bigarray/bigarray.c
diff options
context:
space:
mode:
Diffstat (limited to 'bigarray/bigarray.c')
-rw-r--r--bigarray/bigarray.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/bigarray/bigarray.c b/bigarray/bigarray.c
new file mode 100644
index 0000000..74bcb56
--- /dev/null
+++ b/bigarray/bigarray.c
@@ -0,0 +1,17 @@
+#include <stdlib.h>
+#include <stdio.h>
+#include <stdint.h>
+#include <unistd.h>
+#include <string.h>
+
+int main( int argc, char *args[] ){
+ uint64_t bigarray[500000] = {};
+ uint64_t ncount = 0;
+ for ( ; ncount < 500000; ncount++ )
+ bigarray[ncount] = ncount;
+ ncount = 0;
+ for ( ; ncount < 500000; ncount++ )
+ fprintf( stdout, "%lli\n", ncount );
+ memset( bigarray, 0, sizeof(bigarray) );
+ return EXIT_SUCCESS;
+}