|
Vowpal Wabbit
|
#include <iostream>#include <strings.h>#include <stdexcept>#include <sstream>#include "parse_primitives.h"#include "hash.h"#include "vw_exception.h"Go to the source code of this file.
Functions | |
| bool | substring_equal (const substring &a, const substring &b) |
| bool | substring_equal (const substring &ss, const char *str) |
| size_t | substring_len (substring &s) |
| hash_func_t | getHasher (const std::string &s) |
| bool | operator== (const substring &ss, const char *str) |
| bool | operator== (const char *str, const substring &ss) |
| bool | operator== (const substring &ss1, const substring &ss2) |
| bool | operator!= (const substring &ss, const char *str) |
| bool | operator!= (const char *str, const substring &ss) |
| bool | operator!= (const substring &ss1, const substring &ss2) |
| std::vector< substring > | escaped_tokenize (char delim, substring s, bool allow_empty) |
| std::ostream & | operator<< (std::ostream &os, const substring &ss) |
| std::ostream & | operator<< (std::ostream &os, const v_array< substring > &ss) |
Definition at line 58 of file parse_primitives.cc.
References substring::begin, and substring::end.
Referenced by safe_index(), and VW::to_argv_escaped().
| hash_func_t getHasher | ( | const std::string & | s | ) |
Definition at line 36 of file parse_primitives.cc.
References hashall(), hashstring(), and THROW.
Referenced by VW::hash_feature_static(), VW::hash_space_static(), and parse_feature_tweaks().
| bool operator!= | ( | const substring & | ss, |
| const char * | str | ||
| ) |
Definition at line 52 of file parse_primitives.cc.
Referenced by tokenize().
| bool operator!= | ( | const char * | str, |
| const substring & | ss | ||
| ) |
Definition at line 54 of file parse_primitives.cc.
Definition at line 56 of file parse_primitives.cc.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const substring & | ss | ||
| ) |
Definition at line 112 of file parse_primitives.cc.
References substring::begin, and substring::end.
Definition at line 118 of file parse_primitives.cc.
| bool operator== | ( | const substring & | ss, |
| const char * | str | ||
| ) |
Definition at line 46 of file parse_primitives.cc.
References substring_equal().
Referenced by tokenize().
| bool operator== | ( | const char * | str, |
| const substring & | ss | ||
| ) |
Definition at line 48 of file parse_primitives.cc.
References substring_equal().
Definition at line 50 of file parse_primitives.cc.
References substring_equal().
Definition at line 19 of file parse_primitives.cc.
References substring::begin, and substring::end.
Referenced by namedlabels::namedlabels(), operator==(), parse_dictionary_argument(), CB::parse_label(), COST_SENSITIVE::parse_label(), CCB::parse_label(), and tokenize().
| bool substring_equal | ( | const substring & | ss, |
| const char * | str | ||
| ) |
| size_t substring_len | ( | substring & | s | ) |
Definition at line 34 of file parse_primitives.cc.
References substring::begin, and substring::end.
Referenced by VW::cb_sample_data::learn_or_predict(), and tokenize().
1.8.13