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

Function strpos_utf8_utf8

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

Search for a string within another string Same as "locate(substr, str)", except for the reverse order of the arguments.

Source from the content-addressed store, hash-verified

1832// Search for a string within another string
1833// Same as "locate(substr, str)", except for the reverse order of the arguments.
1834FORCE_INLINE
1835gdv_int32 strpos_utf8_utf8(gdv_int64 context, const char* str, gdv_int32 str_len,
1836 const char* sub_str, gdv_int32 sub_str_len) {
1837 return locate_utf8_utf8_int32(context, sub_str, sub_str_len, str, str_len, 1);
1838}
1839
1840// Search for a string within another string
1841FORCE_INLINE

Callers 1

TESTFunction · 0.85

Calls 1

locate_utf8_utf8_int32Function · 0.85

Tested by 1

TESTFunction · 0.68