Max Kellermann
|
148aca23be
|
use SPDX IDs, replacing the long copyright headers
|
2023-03-06 14:59:48 +01:00 |
|
Max Kellermann
|
d256d3dabe
|
util/StringCompare: use std::string_view instead of StringView
|
2022-05-31 13:24:45 +02:00 |
|
Max Kellermann
|
adad4c7298
|
util/StringCompare: add missing include
|
2020-03-22 19:12:02 +01:00 |
|
Max Kellermann
|
f909615b14
|
include cleanups (powered by iwyu)
|
2019-08-15 17:57:20 +02:00 |
|
Max Kellermann
|
728e4e9a38
|
util/StringCompare: add StringEndsWithIgnoreCase(), StringStartsWithIgnoreCase()
|
2018-09-06 19:52:43 +02:00 |
|
Max Kellermann
|
45ffc864c5
|
util/StringCompare: add more function attributes
|
2018-09-06 19:23:13 +02:00 |
|
Max Kellermann
|
c196710fae
|
util/WStringCompare: relicense to BSD-2
|
2017-09-13 16:43:41 +02:00 |
|
Max Kellermann
|
8d9347edc5
|
Util/WStringCompare: use struct WStringView
|
2017-09-13 11:47:48 +02:00 |
|
Max Kellermann
|
71f0ed8b74
|
*: add "noexcept" to many, many function prototypes
This eliminates some overhead, because the compiler doesn't need to
consider these functions throwing.
|
2017-05-08 14:44:49 +02:00 |
|
Max Kellermann
|
5900253b85
|
update copyright year
|
2017-01-03 20:48:59 +01:00 |
|
Max Kellermann
|
1d67aa7bf2
|
update copyright year to 2016
|
2016-02-26 17:54:05 +01:00 |
|
Max Kellermann
|
42f5ecd4a1
|
util/StringCompare: use strncmp() instead of memcmp() in StringStartsWith()
Some optimized implementations of memcmp() may not start from the
beginning of the string, and may thus segfault.
|
2015-11-06 09:24:18 +01:00 |
|
Max Kellermann
|
733989a284
|
util/StringUtil: move comparison functions to StringCompare.cxx
|
2015-11-06 09:20:18 +01:00 |
|