|
An extensible data structure for massive streaming graphs
|
#include "random.h"#include "timer.h"#include "stinger-atomics.h"#include "alloca.h"#include <ctype.h>#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <stdint.h>#include <getopt.h>#include <omp.h>Macros | |
| #define | NULLCHECK(X) do { if(NULL == (X)) {printf("%s %d NULL: %s", __func__, __LINE__, #X); abort(); } } while(0); |
| #define | ZEROCHECK(X) do { if(0 == (X)) {printf("%s %d ZERO: %s", __func__, __LINE__, #X); abort(); } } while(0); |
Functions | |
| int | i64_cmp (const void *a, const void *b) |
| int64_t | prefix_sum (const int64_t n, int64_t *ary) |
| int | main (int argc, char *argv[]) |
| #define NULLCHECK | ( | X | ) | do { if(NULL == (X)) {printf("%s %d NULL: %s", __func__, __LINE__, #X); abort(); } } while(0); |
Referenced by main().
| #define ZEROCHECK | ( | X | ) | do { if(0 == (X)) {printf("%s %d ZERO: %s", __func__, __LINE__, #X); abort(); } } while(0); |
Referenced by main().
| int i64_cmp | ( | const void * | a, |
| const void * | b | ||
| ) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
References dxor128(), dxor128_seed(), endian_check, i64_cmp(), NULLCHECK, prefix_sum(), tic(), toc(), and ZEROCHECK.
| int64_t prefix_sum | ( | const int64_t | n, |
| int64_t * | ary | ||
| ) |
comments powered by Disqus