MCPcopy Create free account
hub / github.com/apache/impala / AnyOfPolicy

Class AnyOfPolicy

be/src/gutil/strings/split.cc:74–81  ·  view source on GitHub ↗

Finds using StringPiece::find_first_of(), therefore the length of the found delimiter is 1.

Source from the content-addressed store, hash-verified

72// Finds using StringPiece::find_first_of(), therefore the length of the found
73// delimiter is 1.
74struct AnyOfPolicy {
75 size_t Find(StringPiece text, StringPiece delimiter) {
76 return text.find_first_of(delimiter);
77 }
78 int Length(StringPiece delimiter) {
79 return 1;
80 }
81};
82
83} // namespace
84

Callers 1

FindMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected