Export of internal Abseil changes.
-- f4bb8afa9376b4120f56f3beff7b07260da4a5c2 by CJ Johnson <johnsoncj@google.com>: Add user to Github list PiperOrigin-RevId: 209630262 GitOrigin-RevId: f4bb8afa9376b4120f56f3beff7b07260da4a5c2 Change-Id: I3fedf35011d805ee4a20b92e073b43523b47d15b
This commit is contained in:
parent
fefc83638f
commit
bed5bd6e18
54 changed files with 302 additions and 302 deletions
|
|
@ -340,7 +340,7 @@ static bool ZeroOrMore(ParseFunc parse_func, State *state) {
|
|||
}
|
||||
|
||||
// Append "str" at "out_cur_idx". If there is an overflow, out_cur_idx is
|
||||
// set to out_end_idx+1. The output std::string is ensured to
|
||||
// set to out_end_idx+1. The output string is ensured to
|
||||
// always terminate with '\0' as long as there is no overflow.
|
||||
static void Append(State *state, const char *const str, const int length) {
|
||||
for (int i = 0; i < length; ++i) {
|
||||
|
|
@ -840,7 +840,7 @@ static bool ParseNumber(State *state, int *number_out) {
|
|||
}
|
||||
|
||||
// Floating-point literals are encoded using a fixed-length lowercase
|
||||
// hexadecimal std::string.
|
||||
// hexadecimal string.
|
||||
static bool ParseFloatNumber(State *state) {
|
||||
ComplexityGuard guard(state);
|
||||
if (guard.IsTooComplex()) return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue