Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
48
constexpr char const *const digits =
"0123456789"
;
49
50
inline bool
51
is_valid_digits(const StringView val)
52
{
53
return val.npos != val.find_first_of(digits);
54
}
55
56
// both strings should have all digits
57
String
Callers
1
evaluateBignum
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected