MCPcopy Create free account
hub / github.com/apache/trafficserver / is_valid_digits

Function is_valid_digits

plugins/prefetch/evaluate.cc:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48constexpr char const *const digits = "0123456789";
49
50inline bool
51is_valid_digits(const StringView val)
52{
53 return val.npos != val.find_first_of(digits);
54}
55
56// both strings should have all digits
57String

Callers 1

evaluateBignumFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected