|
| size_t | operator() (const std::string &key) const |
| size_t | hash_core (const char *s, size_t l, size_t h) const |
◆ operator()()
| size_t CPPHTTPLIB_NAMESPACE::detail::case_ignore::hash::operator() |
( |
const std::string & | key | ) |
const |
|
inline |
281951 {
281952 return hash_core(key.data(), key.size(), 0);
281953 }
◆ hash_core()
| size_t CPPHTTPLIB_NAMESPACE::detail::case_ignore::hash::hash_core |
( |
const char * | s, |
|
|
size_t | l, |
|
|
size_t | h ) const |
|
inline |
281955 {
281956 return (l == 0) ? h
281957 : hash_core(s + 1, l - 1,
281958
281959
281960 (((std::numeric_limits<size_t>::max)() >> 6) &
281961 h * 33) ^
281962 static_cast<unsigned char>(to_lower(*s)));
281963 }
The documentation for this struct was generated from the following file: