mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-10 01:33:53 +00:00
Code format
This commit is contained in:
parent
8f96b69a25
commit
4cf218643e
@ -2982,8 +2982,9 @@ inline constexpr unsigned int str2tag_core(const char *s, size_t l,
|
|||||||
? h
|
? h
|
||||||
: str2tag_core(
|
: str2tag_core(
|
||||||
s + 1, l - 1,
|
s + 1, l - 1,
|
||||||
//unsets the 6 high bits of h, therefore no overflow happens
|
// Unsets the 6 high bits of h, therefore no overflow happens
|
||||||
(((std::numeric_limits<unsigned int>::max)() >> 6) & h * 33) ^
|
(((std::numeric_limits<unsigned int>::max)() >> 6) &
|
||||||
|
h * 33) ^
|
||||||
static_cast<unsigned char>(*s));
|
static_cast<unsigned char>(*s));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user