#include <io_buf.h>
io_buf::io_buf |
( |
io_buf & |
other | ) |
|
|
delete |
io_buf::io_buf |
( |
io_buf && |
other | ) |
|
|
delete |
size_t io_buf::bin_read_fixed |
( |
char * |
data, |
|
|
size_t |
len, |
|
|
const char * |
read_message |
|
) |
| |
|
inline |
size_t io_buf::bin_write_fixed |
( |
const char * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inline |
size_t io_buf::buf_read |
( |
char *& |
pointer, |
|
|
size_t |
n |
|
) |
| |
void io_buf::buf_write |
( |
char *& |
pointer, |
|
|
size_t |
n |
|
) |
| |
char* io_buf::buffer_start |
( |
| ) |
|
|
inline |
bool io_buf::close_file |
( |
| ) |
|
|
inline |
void io_buf::close_files |
( |
| ) |
|
|
inline |
size_t io_buf::copy_to |
( |
void * |
dst, |
|
|
size_t |
max_size |
|
) |
| |
const std::vector<std::unique_ptr<VW::io::reader> >& io_buf::get_input_files |
( |
| ) |
const |
|
inline |
const std::vector<std::unique_ptr<VW::io::writer> >& io_buf::get_output_files |
( |
| ) |
const |
|
inline |
uint32_t io_buf::hash |
( |
| ) |
|
|
inline |
bool io_buf::isbinary |
( |
| ) |
|
size_t io_buf::num_files |
( |
| ) |
const |
|
inline |
This function will return the number of input files AS WELL AS the number of output files. (because of legacy)
size_t io_buf::num_input_files |
( |
| ) |
const |
|
inline |
size_t io_buf::num_output_files |
( |
| ) |
const |
|
inline |
static ssize_t io_buf::read_file |
( |
VW::io::reader * |
f, |
|
|
void * |
buf, |
|
|
size_t |
nbytes |
|
) |
| |
|
inlinestatic |
template<typename T >
T io_buf::read_value |
( |
const char * |
debug_name = nullptr | ) |
|
|
inline |
size_t io_buf::readto |
( |
char *& |
pointer, |
|
|
char |
terminal |
|
) |
| |
void io_buf::replace_buffer |
( |
char * |
buf, |
|
|
size_t |
capacity |
|
) |
| |
void io_buf::reset_buffer |
( |
| ) |
|
|
inline |
void io_buf::set |
( |
char * |
p | ) |
|
|
inline |
size_t io_buf::unflushed_bytes_count |
( |
| ) |
|
|
inline |
void io_buf::verify_hash |
( |
bool |
verify | ) |
|
|
inline |
template<typename T >
void io_buf::write_value |
( |
const T & |
value | ) |
|
|
inline |
size_t io_buf::current = 0 |
The documentation for this class was generated from the following file:
- /__w/vowpal_wabbit/vowpal_wabbit/vowpalwabbit/io_buf.h