tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
sort.c File Reference
#include "sort.h"
Include dependency graph for sort.c:

Macros

#define CUTOFF   8
 

Functions

static void swap (char *a, char *b, unsigned width)
 
static void shortsort (char *lo, char *hi, unsigned width, int(*cmp)(const void *p1, const void *p2, long n, long offset), long n, long offset)
 
void sort (void *base, unsigned num, unsigned width, int(*cmp)(const void *p1, const void *p2, long n, long offset), long n, long offset)
 

Macro Definition Documentation

#define CUTOFF   8

Function Documentation

static void shortsort ( char *  lo,
char *  hi,
unsigned  width,
int(*)(const void *p1, const void *p2, long n, long offset)  cmp,
long  n,
long  offset 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

void sort ( void *  base,
unsigned  num,
unsigned  width,
int(*)(const void *p1, const void *p2, long n, long offset)  cmp,
long  n,
long  offset 
)

Here is the call graph for this function:

Here is the caller graph for this function:

static void swap ( char *  a,
char *  b,
unsigned  width 
)
static

Here is the caller graph for this function: