Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow-rs
/ contains_like_pattern
Function
contains_like_pattern
arrow-string/src/predicate.rs:305–307 ·
view source on GitHub ↗
(pattern: &str)
Source
from the content-addressed store, hash-verified
303
}
304
305
fn contains_like_pattern(pattern: &str) -> bool {
306
memchr3(b
'%'
, b
'_'
, b
'\\'
, pattern.as_bytes()).is_some()
307
}
308
309
#[cfg(test)]
310
mod tests {
Callers
2
like
Method · 0.85
ilike
Method · 0.85
Calls
1
as_bytes
Method · 0.45
Tested by
no test coverage detected