28template <
typename out_iter>
45 std::string_view&
input)
noexcept;
98bool overlaps(std::string_view
input1,
const std::string&
input2)
noexcept;
107 size_t pos2)
noexcept {
108#if ADA_DEVELOPMENT_CHECKS
110 std::cerr <<
"Negative-length substring: [" <<
pos1 <<
" to " <<
pos2 <<
")"
131 const bool is_special, std::string_view&
view)
noexcept;
145template <
class url_type>
154find_authority_delimiter_special(std::string_view
view)
noexcept;
161find_authority_delimiter(std::string_view
view)
noexcept;
166template <
typename T,
typename...
Args>
167inline void inner_concat(std::string& buffer,
T t) {
174template <
typename T,
typename...
Args>
175inline void inner_concat(std::string& buffer,
T t,
Args...
args) {
177 return inner_concat(buffer,
args...);
185template <
typename...
Args>
197#if ADA_REGULAR_VISUAL_STUDIO
212inline int fast_digit_count(
uint32_t x)
noexcept {
214 return 31 - ada::helpers::leading_zeroes(
z | 1);
221 4294967296, 8589934582, 8589934582, 8589934582, 12884901788,
222 12884901788, 12884901788, 17179868184, 17179868184, 17179868184,
223 21474826480, 21474826480, 21474826480, 21474826480, 25769703776,
224 25769703776, 25769703776, 30063771072, 30063771072, 30063771072,
225 34349738368, 34349738368, 34349738368, 34349738368, 38554705664,
226 38554705664, 38554705664, 41949672960, 41949672960, 41949672960,
227 42949672960, 42949672960};
Common definitions for cross-platform compiler support.
#define ada_really_inline
Includes the definitions for helper functions.
const uint32_t table[8000][2]
ada_warn_unused ada::result< result_type > parse(std::string_view input, const result_type *base_url=nullptr)
Definitions for the states of the URL state machine.
Declaration for the basic URL definitions.