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

Function CountSubstituteArgs

be/src/gutil/strings/substitute.cc:20–26  ·  view source on GitHub ↗

Returns the number of args in arg_array which were passed explicitly to Substitute().

Source from the content-addressed store, hash-verified

18// Returns the number of args in arg_array which were passed explicitly
19// to Substitute().
20static int CountSubstituteArgs(const SubstituteArg* const* args_array) {
21 int count = 0;
22 while (args_array[count] != &SubstituteArg::kNoArg) {
23 ++count;
24 }
25 return count;
26}
27
28namespace internal {
29int SubstitutedSize(StringPiece format,

Callers 1

SubstitutedSizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected