diff options
author | Alexander Smirnov <alex@ydb.tech> | 2024-10-03 14:09:02 +0000 |
---|---|---|
committer | Alexander Smirnov <alex@ydb.tech> | 2024-10-03 14:09:02 +0000 |
commit | 812d97f62befea9d9b47a410d28548ef9f274510 (patch) | |
tree | d52031e2d62a9e7e9c25c43bb564dce30368e780 /contrib/libs/simdjson/src/generic/dom_parser_implementation.h | |
parent | 1e9cd6bece572c59f55fdcf55c68b9c48e5aa6da (diff) | |
parent | d7525e0eec8e7242a5cedd5fbdaf3bdaaeea02c7 (diff) | |
download | ydb-812d97f62befea9d9b47a410d28548ef9f274510.tar.gz |
Merge branch 'rightlib' into mergelibs-241003-1407
Diffstat (limited to 'contrib/libs/simdjson/src/generic/dom_parser_implementation.h')
-rw-r--r-- | contrib/libs/simdjson/src/generic/dom_parser_implementation.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/libs/simdjson/src/generic/dom_parser_implementation.h b/contrib/libs/simdjson/src/generic/dom_parser_implementation.h new file mode 100644 index 0000000000..20f7813fca --- /dev/null +++ b/contrib/libs/simdjson/src/generic/dom_parser_implementation.h @@ -0,0 +1,21 @@ +#ifndef SIMDJSON_SRC_GENERIC_DOM_PARSER_IMPLEMENTATION_H + +#ifndef SIMDJSON_CONDITIONAL_INCLUDE +#define SIMDJSON_SRC_GENERIC_DOM_PARSER_IMPLEMENTATION_H +#include <generic/base.h> +#include <simdjson/generic/dom_parser_implementation.h> +#endif // SIMDJSON_CONDITIONAL_INCLUDE + +// Interface a dom parser implementation must fulfill +namespace simdjson { +namespace SIMDJSON_IMPLEMENTATION { +namespace { + +simdjson_inline simd8<uint8_t> must_be_2_3_continuation(const simd8<uint8_t> prev2, const simd8<uint8_t> prev3); +simdjson_inline bool is_ascii(const simd8x64<uint8_t>& input); + +} // unnamed namespace +} // namespace SIMDJSON_IMPLEMENTATION +} // namespace simdjson + +#endif // SIMDJSON_SRC_GENERIC_DOM_PARSER_IMPLEMENTATION_H
\ No newline at end of file |