Vowpal Wabbit
|
#include "vw/core/vw_string_view_fmt.h"
#include "vw/common/future_compat.h"
#include "vw/common/string_view.h"
#include "vw/core/fast_pow10.h"
#include "vw/core/hashstring.h"
#include "vw/core/v_array.h"
#include "vw/io/logger.h"
#include <cmath>
#include <cstdint>
#include <string>
#include <vector>
Namespaces | |
namespace | VW |
namespace | VW::details |
Functions | |
std::vector< std::string > | VW::details::escaped_tokenize (char delim, VW::string_view s, bool allow_empty=false) |
float | VW::details::parse_float (const char *p, size_t &end_idx, const char *end_line=nullptr) |
float | VW::details::float_of_string (VW::string_view s, VW::io::logger &logger) |
int | VW::details::int_of_string (VW::string_view s, char *&end, VW::io::logger &logger) |
int | VW::details::int_of_string (VW::string_view s, VW::io::logger &logger) |
std::string | VW::trim_whitespace (const std::string &s) |
Trim whitespace from the beginning and end of a string. More... | |
VW::string_view | VW::trim_whitespace (VW::string_view str) |
Trim whitespace from the beginning and end of a string. More... | |
std::vector< std::string > | VW::split_command_line (const std::string &cmd_line) |
Split a string like a shell splits a command line. This function handles quotes and escapes. More... | |
std::vector< std::string > | VW::split_command_line (VW::string_view cmd_line) |
Split a string like a shell splits a command line. This function handles quotes and escapes. More... | |
std::vector< VW::string_view > | VW::split_by_limit (const VW::string_view &s, size_t limit) |