MCPcopy Create free account
hub / github.com/apache/arrow / IsSpaceCharacterUnicode

Function IsSpaceCharacterUnicode

cpp/src/arrow/compute/kernels/scalar_string_utf8.cc:159–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159static inline bool IsSpaceCharacterUnicode(uint32_t codepoint) {
160 auto property = utf8proc_get_property(codepoint);
161 return HasAnyUnicodeGeneralCategory(codepoint, UTF8PROC_CATEGORY_ZS) ||
162 property->bidi_class == UTF8PROC_BIDI_CLASS_WS ||
163 property->bidi_class == UTF8PROC_BIDI_CLASS_B ||
164 property->bidi_class == UTF8PROC_BIDI_CLASS_S;
165}
166
167static inline bool IsPrintableCharacterUnicode(uint32_t codepoint) {
168 uint32_t general_category = utf8proc_category(codepoint);

Callers 4

PredicateCharacterAllMethod · 0.85
TransformMethod · 0.85
FindMethod · 0.85
FindReverseMethod · 0.85

Calls 1

Tested by

no test coverage detected