Vowpal Wabbit
|
Go to the source code of this file.
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, 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) |
Definition at line 203 of file cache.cc.
References cache_tag(), example_predict::feature_space, example_predict::indices, output_byte(), output_features(), v_array< T >::size(), and example::tag.
Referenced by VW::setup_example().
Definition at line 192 of file cache.cc.
References v_array< T >::begin(), io_buf::buf_write(), c, io_buf::set(), and v_array< T >::size().
Referenced by cache_features(), and learn().
void output_byte | ( | io_buf & | cache, |
unsigned char | s | ||
) |
Definition at line 144 of file cache.cc.
References io_buf::buf_write(), c, and io_buf::set().
Referenced by cache_features(), and send_features().
Definition at line 153 of file cache.cc.
References io_buf::buf_write(), c, one_float::f, general, int_size, neg_1, run_len_encode(), io_buf::set(), features::size(), features::values, and ZigZagEncode().
Referenced by cache_features(), and send_features().
Definition at line 65 of file cache.cc.
References io_buf::buf_read(), c, char_size, example_predict::feature_space, general, example_predict::indices, parser::input, example::l, parser::lp, neg_1, vw::p, v_array< T >::push_back(), features::push_back(), label_parser::read_cached_label, read_cached_tag(), run_len_decode(), vw::sd, io_buf::set(), example::sorted, parser::sorted_cache, vw::trace_message, and ZigZagDecode().
Referenced by enable_sources(), parse_cache(), and reset_source().
char* run_len_decode | ( | char * | p, |
size_t & | i | ||
) |
char* run_len_encode | ( | char * | p, |
size_t | i | ||
) |