github.com/bytedance/sonic@v1.11.7-0.20240517092252-d2edb31b167b/internal/native/avx/validate_utf8_fast_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_fast = 0
    12  )
    13  
    14  const (
    15      _stack__validate_utf8_fast = 24
    16  )
    17  
    18  const (
    19      _size__validate_utf8_fast = 536
    20  )
    21  
    22  var (
    23      _pcsp__validate_utf8_fast = [][2]uint32{
    24          {1, 0},
    25          {4, 8},
    26          {5, 16},
    27          {247, 24},
    28          {251, 16},
    29          {252, 8},
    30          {253, 0},
    31          {527, 24},
    32          {531, 16},
    33          {532, 8},
    34          {534, 0},
    35      }
    36  )
    37  
    38  var _cfunc_validate_utf8_fast = []loader.CFunc{
    39      {"_validate_utf8_fast_entry", 0,  _entry__validate_utf8_fast, 0, nil},
    40      {"_validate_utf8_fast", _entry__validate_utf8_fast, _size__validate_utf8_fast, _stack__validate_utf8_fast, _pcsp__validate_utf8_fast},
    41  }