Vowpal Wabbit
|
#include <cmath>
#include <string>
#include <vector>
#include <iostream>
#include <cstdint>
#include "v_array.h"
#include "hashstring.h"
#include "vw_string_view.h"
#include "fast_pow10.h"
Namespaces | |
VW | |
[Error Generator] | |
Typedefs | |
typedef example &(* | VW::example_factory_t) (void *) |
typedef uint64_t(* | hash_func_t) (const char *s, size_t, uint64_t) |
Functions | |
template<typename ContainerT > | |
void | tokenize (char delim, VW::string_view s, ContainerT &ret, bool allow_empty=false) |
std::vector< std::string > | escaped_tokenize (char delim, VW::string_view s, bool allow_empty=false) |
const char * | safe_index (const char *start, char v, const char *max) |
hash_func_t | getHasher (const std::string &s) |
float | parseFloat (const char *p, size_t &end_idx, const char *endLine=nullptr) |
float | float_of_string (VW::string_view s) |
int | int_of_string (VW::string_view s, char *&end) |
int | int_of_string (VW::string_view s) |
typedef uint64_t(* hash_func_t) (const char *s, size_t, uint64_t) |
std::vector<std::string> escaped_tokenize | ( | char | delim, |
VW::string_view | s, | ||
bool | allow_empty = false |
||
) |
|
inline |
hash_func_t getHasher | ( | const std::string & | s | ) |
|
inline |
|
inline |
|
inline |
|
inline |
void tokenize | ( | char | delim, |
VW::string_view | s, | ||
ContainerT & | ret, | ||
bool | allow_empty = false |
||
) |