#include <iostream>
#include <vector>
#include <algorithm>
#include <numeric>
#include <iterator>
#include <omp.h>
#include <sys/stat.h>
#include <string.h>
#include "mmio.h"
#include <zlib.h>
#include "Tommy/tommyhashdyn.h"
#include "compress_string.h"
#include "TommyObj.h"
Go to the source code of this file.
|
| string | chop_head (const string &full_str, const string &head_str) |
| void * | shuffledprintfunc (void *arg, void *obj) |
| template<typename IT1, typename NT1, typename IT2, typename NT2> |
| void | push_to_vectors (vector< IT1 > &rows, vector< IT1 > &cols, vector< NT1 > &vals, IT2 ii, IT2 jj, NT2 vv) |
| template<typename IT1, typename NT1> |
| void | ProcessLines (vector< IT1 > &rows, vector< IT1 > &cols, vector< NT1 > &vals, vector< string > &lines, tommy_hashdyn &hashdyn, const vector< uint32_t > &shuffler) |
| void | check_newline (int *bytes_read, int bytes_requested, char *buf) |
| bool | FetchBatch (FILE *f_local, long int &curpos, long int end_fpos, bool firstcall, vector< string > &lines) |
| void | MMConverter (const string &filename, ofstream &dictout, const string &outprefix) |
◆ BATCH
◆ MAXLINELENGTH
| #define MAXLINELENGTH 512 |
◆ MAXVERTNAME
◆ VERTEX_HEAD
◆ check_newline()
| void check_newline |
( |
int * | bytes_read, |
|
|
int | bytes_requested, |
|
|
char * | buf ) |
◆ chop_head()
| string chop_head |
( |
const string & | full_str, |
|
|
const string & | head_str ) |
◆ FetchBatch()
| bool FetchBatch |
( |
FILE * | f_local, |
|
|
long int & | curpos, |
|
|
long int | end_fpos, |
|
|
bool | firstcall, |
|
|
vector< string > & | lines ) |
◆ MMConverter()
| void MMConverter |
( |
const string & | filename, |
|
|
ofstream & | dictout, |
|
|
const string & | outprefix ) |
◆ ProcessLines()
template<typename IT1, typename NT1>
| void ProcessLines |
( |
vector< IT1 > & | rows, |
|
|
vector< IT1 > & | cols, |
|
|
vector< NT1 > & | vals, |
|
|
vector< string > & | lines, |
|
|
tommy_hashdyn & | hashdyn, |
|
|
const vector< uint32_t > & | shuffler ) |
◆ push_to_vectors()
template<typename IT1, typename NT1, typename IT2, typename NT2>
| void push_to_vectors |
( |
vector< IT1 > & | rows, |
|
|
vector< IT1 > & | cols, |
|
|
vector< NT1 > & | vals, |
|
|
IT2 | ii, |
|
|
IT2 | jj, |
|
|
NT2 | vv ) |
◆ shuffledprintfunc()
| void * shuffledprintfunc |
( |
void * | arg, |
|
|
void * | obj ) |