
Go to the source code of this file.
Classes | |
| struct | access |
| struct | point |
Macros | |
| #define | CHUNK 16384 /* file input buffer size */ |
| #define | local static |
| #define | SPAN 1048576L /* desired distance between access points */ |
| #define | WINSIZE 32768U /* sliding window size */ |
Functions | |
| struct access * | addpoint (struct access *index, int bits, off_t in, off_t out, unsigned left, unsigned char *window) |
| int | build_index (FILE *in, off_t span, struct access **built) |
| int | extract (FILE *in, struct access *index, off_t offset, unsigned char *buf, int len) |
| void | free_index (struct access *index) |
| int | main (int argc, char **argv) |
Definition at line 64 of file bloaty/third_party/zlib/examples/zran.c.
| #define local static |
Definition at line 60 of file bloaty/third_party/zlib/examples/zran.c.
Definition at line 62 of file bloaty/third_party/zlib/examples/zran.c.
| #define WINSIZE 32768U /* sliding window size */ |
Definition at line 63 of file bloaty/third_party/zlib/examples/zran.c.
| struct access* addpoint | ( | struct access * | index, |
| int | bits, | ||
| off_t | in, | ||
| off_t | out, | ||
| unsigned | left, | ||
| unsigned char * | window | ||
| ) |
Definition at line 92 of file bloaty/third_party/zlib/examples/zran.c.
Definition at line 144 of file bloaty/third_party/zlib/examples/zran.c.
Definition at line 249 of file bloaty/third_party/zlib/examples/zran.c.
| void free_index | ( | struct access * | index | ) |
Definition at line 82 of file bloaty/third_party/zlib/examples/zran.c.
Definition at line 354 of file bloaty/third_party/zlib/examples/zran.c.