Vowpal Wabbit
Namespaces | Functions
cache.h File Reference
#include "v_array.h"
#include "io_buf.h"
#include "example.h"

Namespaces

 VW
 

Functions

char * run_len_decode (char *p, size_t &i)
 
char * run_len_encode (char *p, size_t i)
 
int read_cached_features (vw *all, v_array< example * > &examples)
 
void cache_tag (io_buf &cache, const v_array< char > &tag)
 
void cache_features (io_buf &cache, example *ae, uint64_t mask)
 
void output_byte (io_buf &cache, unsigned char s)
 
void output_features (io_buf &cache, unsigned char index, features &fs, uint64_t mask)
 
uint32_t VW::convert (size_t number)
 
void VW::write_example_to_cache (io_buf &output, example *ae, label_parser &lbl_parser, uint64_t parse_mask)
 
int VW::read_example_from_cache (io_buf &input, example *ae, label_parser &lbl_parser, bool sorted_cache, shared_data *shared_dat)
 

Function Documentation

void cache_features ( io_buf cache,
example ae,
uint64_t  mask 
)
void cache_tag ( io_buf cache,
const v_array< char > &  tag 
)
void output_byte ( io_buf cache,
unsigned char  s 
)
void output_features ( io_buf cache,
unsigned char  index,
features fs,
uint64_t  mask 
)
int read_cached_features ( vw all,
v_array< example * > &  examples 
)
char* run_len_decode ( char *  p,
size_t &  i 
)
char* run_len_encode ( char *  p,
size_t  i 
)