parent
17b777f751
commit
b1224a77db
|
@ -0,0 +1 @@
|
||||||
|
f
|
|
@ -0,0 +1 @@
|
||||||
|
-7.9431
|
|
@ -107,7 +107,7 @@ unified_machine(const uint8_t *buf, size_t len, ParsedJson &pj) {
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
memcpy(copy, buf, len);
|
memcpy(copy, buf, len);
|
||||||
copy[len] = ' ';
|
memset(copy + len, ' ', sizeof(uint64_t));
|
||||||
if (!is_valid_true_atom(reinterpret_cast<const uint8_t *>(copy) + idx)) {
|
if (!is_valid_true_atom(reinterpret_cast<const uint8_t *>(copy) + idx)) {
|
||||||
free(copy);
|
free(copy);
|
||||||
goto fail;
|
goto fail;
|
||||||
|
@ -127,7 +127,7 @@ unified_machine(const uint8_t *buf, size_t len, ParsedJson &pj) {
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
memcpy(copy, buf, len);
|
memcpy(copy, buf, len);
|
||||||
copy[len] = ' ';
|
memset(copy + len, ' ', sizeof(uint64_t));
|
||||||
if (!is_valid_false_atom(reinterpret_cast<const uint8_t *>(copy) + idx)) {
|
if (!is_valid_false_atom(reinterpret_cast<const uint8_t *>(copy) + idx)) {
|
||||||
free(copy);
|
free(copy);
|
||||||
goto fail;
|
goto fail;
|
||||||
|
@ -146,7 +146,7 @@ unified_machine(const uint8_t *buf, size_t len, ParsedJson &pj) {
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
memcpy(copy, buf, len);
|
memcpy(copy, buf, len);
|
||||||
copy[len] = ' ';
|
memset(copy + len, ' ', sizeof(uint64_t));
|
||||||
if (!is_valid_null_atom(reinterpret_cast<const uint8_t *>(copy) + idx)) {
|
if (!is_valid_null_atom(reinterpret_cast<const uint8_t *>(copy) + idx)) {
|
||||||
free(copy);
|
free(copy);
|
||||||
goto fail;
|
goto fail;
|
||||||
|
@ -178,7 +178,7 @@ unified_machine(const uint8_t *buf, size_t len, ParsedJson &pj) {
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
memcpy(copy, buf, len);
|
memcpy(copy, buf, len);
|
||||||
copy[len] = ' ';
|
memset(copy + len, ' ', SIMDJSON_PADDING);
|
||||||
if (!parse_number(reinterpret_cast<const uint8_t *>(copy), pj, idx,
|
if (!parse_number(reinterpret_cast<const uint8_t *>(copy), pj, idx,
|
||||||
false)) {
|
false)) {
|
||||||
free(copy);
|
free(copy);
|
||||||
|
@ -197,7 +197,7 @@ unified_machine(const uint8_t *buf, size_t len, ParsedJson &pj) {
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
memcpy(copy, buf, len);
|
memcpy(copy, buf, len);
|
||||||
copy[len] = ' ';
|
memset(copy + len, ' ', SIMDJSON_PADDING);
|
||||||
if (!parse_number(reinterpret_cast<const uint8_t *>(copy), pj, idx, true)) {
|
if (!parse_number(reinterpret_cast<const uint8_t *>(copy), pj, idx, true)) {
|
||||||
free(copy);
|
free(copy);
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
Loading…
Reference in New Issue