github.com/bytedance/sonic@v1.11.7-0.20240517092252-d2edb31b167b/internal/native/avx/validate_utf8_subr.go (about)

     1  // +build !noasm !appengine
     2  // Code generated by asm2asm, DO NOT EDIT.
     3  
     4  package avx
     5  
     6  import (
     7  	`github.com/bytedance/sonic/loader`
     8  )
     9  
    10  const (
    11      _entry__validate_utf8 = 0
    12  )
    13  
    14  const (
    15      _stack__validate_utf8 = 48
    16  )
    17  
    18  const (
    19      _size__validate_utf8 = 668
    20  )
    21  
    22  var (
    23      _pcsp__validate_utf8 = [][2]uint32{
    24          {1, 0},
    25          {4, 8},
    26          {6, 16},
    27          {8, 24},
    28          {10, 32},
    29          {11, 40},
    30          {623, 48},
    31          {627, 40},
    32          {628, 32},
    33          {630, 24},
    34          {632, 16},
    35          {634, 8},
    36          {635, 0},
    37          {666, 48},
    38      }
    39  )
    40  
    41  var _cfunc_validate_utf8 = []loader.CFunc{
    42      {"_validate_utf8_entry", 0,  _entry__validate_utf8, 0, nil},
    43      {"_validate_utf8", _entry__validate_utf8, _size__validate_utf8, _stack__validate_utf8, _pcsp__validate_utf8},
    44  }