|
static int | XLALCacheFileReadRow (char *s, size_t len, LALFILE *fp, int *line) |
|
static int | XLALCacheFileCountRows (LALFILE *fp) |
|
static char * | XLALCacheFileNextField (char **ps) |
|
static int | XLALCacheFileParseEntry (struct tagLALCacheEntry *entry, char *s) |
|
static int | XLALCacheEntryCopy (LALCacheEntry *dst, const LALCacheEntry *src) |
|
LALCache * | XLALCreateCache (UINT4 length) |
| Creates a LALCache structure. More...
|
|
void | XLALDestroyCache (LALCache *cache) |
| Destroys a LALCache structure. More...
|
|
LALCache * | XLALCacheDuplicate (const LALCache *cache) |
| Duplicates a LALCache structure. More...
|
|
LALCache * | XLALCacheMerge (const LALCache *cache1, const LALCache *cache2) |
| Returns a new LALCache structure that is the merge of two. More...
|
|
LALCache * | XLALCacheFileRead (LALFILE *fp) |
| Reads a LAL cache file and produces a LALCache structure. More...
|
|
LALCache * | XLALCacheImport (const char *fname) |
| Reads a LAL cache file and produces a LALCache structure. More...
|
|
LALCache * | XLALCacheGlob (const char *dirstr, const char *fnptrn) |
| Globs a directory and construct LALCache from matching entries. More...
|
|
int | XLALCacheFileWrite (LALFILE *fp, const LALCache *cache) |
| Writes a LALCache structure to output LALFILE. More...
|
|
int | XLALCacheExport (const LALCache *cache, const char *fname) |
| Exports a LALCache structure to an output LAL cache file. More...
|
|
static int | XLALCacheCompareSource (void UNUSED *p, const void *p1, const void *p2) |
|
static int | XLALCacheCompareDescription (void UNUSED *p, const void *p1, const void *p2) |
|
static int | XLALCacheCompareStartTime (void UNUSED *p, const void *p1, const void *p2) |
|
static int | XLALCacheCompareDuration (void UNUSED *p, const void *p1, const void *p2) |
|
static int | XLALCacheCompareEntryMetadata (void *p, const void *p1, const void *p2) |
|
int | XLALCacheSort (LALCache *cache) |
| Sorts entries in a LALCache structure. More...
|
|
int | XLALCacheUniq (LALCache *cache) |
| Prunes duplicate entries keeping the second one; cache is reduced in length if there are. More...
|
|
static int | XLALCacheEntryMatchTime (const LALCacheEntry *entry, INT4 t0, INT4 t1) |
|
int | XLALCacheSieve (LALCache *cache, INT4 t0, INT4 t1, const char *srcregex, const char *dscregex, const char *urlregex) |
| Selects only matching entries in a LALCache structure – other entries are deleted from the LALCache structure. More...
|
|
static int | XLALCacheEntryBsearchCompare (const void *key, const void *ptr) |
|
LALCacheEntry * | XLALCacheEntrySeek (const LALCache *cache, double t) |
| Finds the first entry that contains the requested time, or the first entry after the time if the time is in a gap or before the first entry. More...
|
|
LALFILE * | XLALCacheEntryOpen (const LALCacheEntry *entry) |
| Open a file identified by an entry in a LALCache structure. More...
|
|