|
int | XLALHeapSort (void *base, UINT4 nobj, UINT4 size, void *params, int(*compar)(void *, const void *, const void *)) |
|
int | XLALHeapIndex (INT4 *indx, void *base, UINT4 nobj, UINT4 size, void *params, int(*compar)(void *, const void *, const void *)) |
|
int | XLALHeapRank (INT4 *rank, void *base, UINT4 nobj, UINT4 size, void *params, int(*compar)(void *, const void *, const void *)) |
|
Go to the source code of this file.
|
#define | COPY(x, i, y, j, s) (memcpy((char*)(x)+(i)*(s),(char*)(y)+(j)*(s),(s))) |
|
#define | CMP(x, i, y, j, s, p, c) ((c)((p),(char*)(x)+(i)*(s),(char*)(y)+(j)*(s))) |
|
◆ COPY
#define COPY |
( |
|
x, |
|
|
|
i, |
|
|
|
y, |
|
|
|
j, |
|
|
|
s |
|
) |
| (memcpy((char*)(x)+(i)*(s),(char*)(y)+(j)*(s),(s))) |
◆ CMP
#define CMP |
( |
|
x, |
|
|
|
i, |
|
|
|
y, |
|
|
|
j, |
|
|
|
s, |
|
|
|
p, |
|
|
|
c |
|
) |
| ((c)((p),(char*)(x)+(i)*(s),(char*)(y)+(j)*(s))) |