Prototypes | |
| int | create_gctFstat_toplist (toplist_t **list, UINT8 length, SortBy_t whatToSortBy) |
| creates a toplist with length elements, returns -1 on error (usually out of memory), else 0 More... | |
| void | free_gctFstat_toplist (toplist_t **list) |
| frees the space occupied by the toplist More... | |
| int | insert_into_gctFstat_toplist (toplist_t *list, GCTtopOutputEntry *line) |
| Inserts an element in to the toplist either if there is space left or the element is larger than the smallest element in the toplist. More... | |
| int | write_gctFstat_toplist_to_fp (toplist_t *list, FILE *fp, UINT4 *checksum) |
| Writes the toplist to an (already open) filepointer Returns the number of written charactes sets the checksum if non-NULL Returns something <0 on error. More... | |
| void | sort_gctFstat_toplist (toplist_t *list) |
| sorts the toplist with an internal sorting function, used before finally writing it More... | |
| void | sort_gctFstat_toplist_strongest (toplist_t *list) |
| sorts the toplist with an internal sorting function, used before doing the follow-up analysis More... | |
| int | write_gct_checkpoint (const char *filename, toplist_t *tl, toplist_t *t2, toplist_t *t3, UINT4 counter, BOOLEAN do_sync) |
| Checkpointing. More... | |
| int | read_gct_checkpoint (const char *filename, toplist_t *tl, toplist_t *t2, toplist_t *t3, UINT4 *counter) |
| tries to read a checkpoint More... | |
| int | clear_gct_checkpoint (const char *filename) |
| removes a checkpoint returns 0 on success, errno on failure More... | |
| int | write_hfs_oputput (const char *filename, toplist_t *tl) |
| write the final output file: More... | |
Go to the source code of this file.
Data Structures | |
| struct | GCTtopOutputEntry |
Enumerations | |
| enum | SortBy_t { SORTBY_F = 0 , SORTBY_NC = 1 , SORTBY_BSGL = 2 , SORTBY_DUAL_F_BSGL = 3 , SORTBY_BSGLtL = 4 , SORTBY_BtSGLtL = 5 , SORTBY_TRIPLE_BStSGLtL = 6 , SORTBY_F_BSGLtL_BtSGLtL = 7 , SORTBY_LAST } |
| enumerate all toplist-sorting options: by F (0), number-count (1), BSGL (2), "dual" toplists F + BSGL (3) More... | |
Variables | |
| char ** | global_argv |
| int | global_argc |
| enum SortBy_t |
enumerate all toplist-sorting options: by F (0), number-count (1), BSGL (2), "dual" toplists F + BSGL (3)
| Enumerator | |
|---|---|
| SORTBY_F | |
| SORTBY_NC | |
| SORTBY_BSGL | |
| SORTBY_DUAL_F_BSGL | |
| SORTBY_BSGLtL | |
| SORTBY_BtSGLtL | |
| SORTBY_TRIPLE_BStSGLtL | |
| SORTBY_F_BSGLtL_BtSGLtL | |
| SORTBY_LAST | |
Definition at line 71 of file GCTtoplist.h.
creates a toplist with length elements, returns -1 on error (usually out of memory), else 0
Definition at line 246 of file GCTtoplist.c.
| void free_gctFstat_toplist | ( | toplist_t ** | list | ) |
frees the space occupied by the toplist
Definition at line 270 of file GCTtoplist.c.
| int insert_into_gctFstat_toplist | ( | toplist_t * | list, |
| GCTtopOutputEntry * | line | ||
| ) |
Inserts an element in to the toplist either if there is space left or the element is larger than the smallest element in the toplist.
In the latter case, remove the smallest element from the toplist Returns 1 if the element was actually inserted, 0 if not.
Definition at line 281 of file GCTtoplist.c.
Writes the toplist to an (already open) filepointer Returns the number of written charactes sets the checksum if non-NULL Returns something <0 on error.
Definition at line 489 of file GCTtoplist.c.
| void sort_gctFstat_toplist | ( | toplist_t * | list | ) |
sorts the toplist with an internal sorting function, used before finally writing it
Definition at line 291 of file GCTtoplist.c.
| void sort_gctFstat_toplist_strongest | ( | toplist_t * | list | ) |
sorts the toplist with an internal sorting function, used before doing the follow-up analysis
| int write_gct_checkpoint | ( | const char * | filename, |
| toplist_t * | tl, | ||
| toplist_t * | t2, | ||
| toplist_t * | t3, | ||
| UINT4 | counter, | ||
| BOOLEAN | do_sync | ||
| ) |
Checkpointing.
writes a checkpoint:
Definition at line 688 of file GCTtoplist.c.
| int read_gct_checkpoint | ( | const char * | filename, |
| toplist_t * | tl, | ||
| toplist_t * | t2, | ||
| toplist_t * | t3, | ||
| UINT4 * | counter | ||
| ) |
tries to read a checkpoint
Definition at line 941 of file GCTtoplist.c.
removes a checkpoint returns 0 on success, errno on failure
Definition at line 1242 of file GCTtoplist.c.
write the final output file:
Definition at line 1284 of file GCTtoplist.c.
|
extern |
Definition at line 70 of file HierarchSearchGCT.c.
|
extern |
Definition at line 71 of file HierarchSearchGCT.c.