version 1.10, 2004/03/15 13:35:36 |
version 1.11, 2004/07/20 03:50:27 |
|
|
int PANIC = FSORTMAX; |
int PANIC = FSORTMAX; |
|
|
void |
void |
fsort(binno, depth, infiles, nfiles, outfp, ftbl) |
fsort(int binno, int depth, union f_handle infiles, int nfiles, FILE *outfp, |
int binno, depth; |
struct field *ftbl) |
union f_handle infiles; |
|
int nfiles; |
|
FILE *outfp; |
|
struct field *ftbl; |
|
{ |
{ |
u_char *bufend, **keypos, *tmpbuf; |
u_char *bufend, **keypos, *tmpbuf; |
u_char *weights; |
u_char *weights; |
|
|
*/ |
*/ |
#define swap(a, b, t) t = a, a = b, b = t |
#define swap(a, b, t) t = a, a = b, b = t |
void |
void |
onepass(a, depth, n, sizes, tr, fp) |
onepass(u_char **a, int depth, long n, long sizes[], u_char *tr, FILE *fp) |
u_char **a; |
|
int depth; |
|
long n; |
|
long sizes[]; |
|
u_char *tr; |
|
FILE *fp; |
|
{ |
{ |
size_t tsizes[NBINS+1]; |
size_t tsizes[NBINS+1]; |
u_char **bin[257], **top[256], ***bp, ***bpmax, ***tp; |
u_char **bin[257], **top[256], ***bp, ***bpmax, ***tp; |