MCPcopy Create free account
hub / github.com/apache/brpc / NextCharUTF16

Class NextCharUTF16

src/butil/strings/string_util.cc:859–867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

857};
858
859struct NextCharUTF16 {
860 base_icu::UChar32 operator()(const char16** p, const char16* end) {
861 base_icu::UChar32 c;
862 int offset = 0;
863 CBU16_NEXT(*p, offset, end - *p, c);
864 *p += offset;
865 return c;
866 }
867};
868
869bool MatchPattern(const butil::StringPiece& eval,
870 const butil::StringPiece& pattern) {

Callers 1

MatchPatternFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected