diff options
author | stderr64 <stderr64@null.net> | 2024-10-24 23:04:43 +0300 |
---|---|---|
committer | stderr64 <stderr64@null.net> | 2024-10-24 23:04:43 +0300 |
commit | ab607fc39b6dfc766f7481c33e5f1cf35a2f55d9 (patch) | |
tree | 56317bc3756fa1439f748fda422996c526a76b14 /bigarray/bigarray.c | |
download | experiments-ab607fc39b6dfc766f7481c33e5f1cf35a2f55d9.tar.gz experiments-ab607fc39b6dfc766f7481c33e5f1cf35a2f55d9.tar.zst |
Recreated repository
Diffstat (limited to 'bigarray/bigarray.c')
-rw-r--r-- | bigarray/bigarray.c | 17 |
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; +} |