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

Function locate_utf8_utf8

cpp/src/gandiva/precompiled/string_ops.cc:1806–1810  ·  view source on GitHub ↗

Search for a string within another string

Source from the content-addressed store, hash-verified

1804
1805// Search for a string within another string
1806FORCE_INLINE
1807gdv_int32 locate_utf8_utf8(gdv_int64 context, const char* sub_str, gdv_int32 sub_str_len,
1808 const char* str, gdv_int32 str_len) {
1809 return locate_utf8_utf8_int32(context, sub_str, sub_str_len, str, str_len, 1);
1810}
1811
1812// Search for a string within another string starting at position start-pos (1-indexed)
1813FORCE_INLINE

Callers 1

TESTFunction · 0.85

Calls 1

locate_utf8_utf8_int32Function · 0.85

Tested by 1

TESTFunction · 0.68