mirror of
https://github.com/ii64/sonic.git
synced 2026-06-21 17:06:47 +08:00
* fix: check unescaped control chars in decode * feat: add utf8 validate func * feat: validate utf8 in json string * feat: add validateone api * fix: check unicode pointer for surrogate * clang12 compile * feat: Import `Valid()` and `Skip()` * opt: use looktable * fix utf-8 validate performance problem * fix: utf-8 validate bug * clang12 build * feat: (encoder) accelerate validating json from `json.Marshaler` chore!: - `encoder.NoCompactMarshaler`changes to `encoder.CompactMarshaler`, which means compacting operation is not open by default * fix: only one json value is `Valid()` Co-authored-by: liuqiang <liuqiang.06@bytedance.com> Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
89 lines
2.3 KiB
Go
89 lines
2.3 KiB
Go
// +build !noasm !appengine
|
|
// Code generated by asm2asm, DO NOT EDIT.
|
|
|
|
package avx
|
|
|
|
//go:nosplit
|
|
//go:noescape
|
|
//goland:noinspection ALL
|
|
func __native_entry__() uintptr
|
|
|
|
var (
|
|
_subr__f64toa = __native_entry__() + 630
|
|
_subr__html_escape = __native_entry__() + 8160
|
|
_subr__i64toa = __native_entry__() + 3642
|
|
_subr__lspace = __native_entry__() + 301
|
|
_subr__lzero = __native_entry__() + 13
|
|
_subr__quote = __native_entry__() + 4955
|
|
_subr__skip_array = __native_entry__() + 17296
|
|
_subr__skip_object = __native_entry__() + 17333
|
|
_subr__skip_one = __native_entry__() + 15444
|
|
_subr__u64toa = __native_entry__() + 3735
|
|
_subr__unquote = __native_entry__() + 6005
|
|
_subr__validate_one = __native_entry__() + 20414
|
|
_subr__value = __native_entry__() + 10806
|
|
_subr__vnumber = __native_entry__() + 13602
|
|
_subr__vsigned = __native_entry__() + 14916
|
|
_subr__vstring = __native_entry__() + 12567
|
|
_subr__vunsigned = __native_entry__() + 15175
|
|
)
|
|
|
|
const (
|
|
_stack__f64toa = 120
|
|
_stack__html_escape = 72
|
|
_stack__i64toa = 24
|
|
_stack__lspace = 8
|
|
_stack__lzero = 8
|
|
_stack__quote = 80
|
|
_stack__skip_array = 160
|
|
_stack__skip_object = 160
|
|
_stack__skip_one = 160
|
|
_stack__u64toa = 8
|
|
_stack__unquote = 88
|
|
_stack__validate_one = 160
|
|
_stack__value = 400
|
|
_stack__vnumber = 312
|
|
_stack__vsigned = 16
|
|
_stack__vstring = 128
|
|
_stack__vunsigned = 8
|
|
)
|
|
|
|
var (
|
|
_ = _subr__f64toa
|
|
_ = _subr__html_escape
|
|
_ = _subr__i64toa
|
|
_ = _subr__lspace
|
|
_ = _subr__lzero
|
|
_ = _subr__quote
|
|
_ = _subr__skip_array
|
|
_ = _subr__skip_object
|
|
_ = _subr__skip_one
|
|
_ = _subr__u64toa
|
|
_ = _subr__unquote
|
|
_ = _subr__validate_one
|
|
_ = _subr__value
|
|
_ = _subr__vnumber
|
|
_ = _subr__vsigned
|
|
_ = _subr__vstring
|
|
_ = _subr__vunsigned
|
|
)
|
|
|
|
const (
|
|
_ = _stack__f64toa
|
|
_ = _stack__html_escape
|
|
_ = _stack__i64toa
|
|
_ = _stack__lspace
|
|
_ = _stack__lzero
|
|
_ = _stack__quote
|
|
_ = _stack__skip_array
|
|
_ = _stack__skip_object
|
|
_ = _stack__skip_one
|
|
_ = _stack__u64toa
|
|
_ = _stack__unquote
|
|
_ = _stack__validate_one
|
|
_ = _stack__value
|
|
_ = _stack__vnumber
|
|
_ = _stack__vsigned
|
|
_ = _stack__vstring
|
|
_ = _stack__vunsigned
|
|
)
|