| 548 | } |
| 549 | |
| 550 | std::string StringNext(std::string s) { |
| 551 | for (auto iter = s.rbegin(); iter != s.rend(); ++iter) { |
| 552 | if (*iter != char(0xff)) { |
| 553 | (*iter)++; |
| 554 | break; |
| 555 | } |
| 556 | } |
| 557 | return s; |
| 558 | } |
| 559 | |
| 560 | std::string StringDigest(std::string_view s) { |
| 561 | XXH64_hash_t hash = XXH3_64bits(s.data(), s.size()); |
no outgoing calls
no test coverage detected