github.com/bytedance/sonic@v1.11.7-0.20240517092252-d2edb31b167b/internal/native/avx2/validate_utf8_fast_subr.go (about) 1 // +build !noasm !appengine 2 // Code generated by asm2asm, DO NOT EDIT. 3 4 package avx2 5 6 import ( 7 `github.com/bytedance/sonic/loader` 8 ) 9 10 const ( 11 _entry__validate_utf8_fast = 272 12 ) 13 14 const ( 15 _stack__validate_utf8_fast = 176 16 ) 17 18 const ( 19 _size__validate_utf8_fast = 2600 20 ) 21 22 var ( 23 _pcsp__validate_utf8_fast = [][2]uint32{ 24 {1, 0}, 25 {4, 8}, 26 {5, 16}, 27 {1738, 176}, 28 {1739, 168}, 29 {1743, 160}, 30 {2018, 176}, 31 {2019, 168}, 32 {2023, 160}, 33 {2600, 176}, 34 } 35 ) 36 37 var _cfunc_validate_utf8_fast = []loader.CFunc{ 38 {"_validate_utf8_fast_entry", 0, _entry__validate_utf8_fast, 0, nil}, 39 {"_validate_utf8_fast", _entry__validate_utf8_fast, _size__validate_utf8_fast, _stack__validate_utf8_fast, _pcsp__validate_utf8_fast}, 40 }