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

Method Matches

cpp/src/arrow/csv/lexing_internal.h:167–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165 explicit SSE42Filter(const ParseOptions& options) : filter_(MakeFilter(options)) {}
166
167 bool Matches(WordType w) const {
168 // Look up every byte in `w` in the SIMD filter.
169 return _mm_cmpistrc(_mm_set1_epi64x(w), filter_,
170 _SIDD_UBYTE_OPS | _SIDD_CMP_EQUAL_ANY);
171 }
172
173 // _mm_cmpistrc is an implicit-length compare: it treats a NUL byte as a
174 // terminator and can miss a real delimiter/quote/newline sharing an 8-byte

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected