Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

31 строка
675 B

  1. // This file was generated by go generate; DO NOT EDIT
  2. package width
  3. // elem is an entry of the width trie. The high byte is used to encode the type
  4. // of the rune. The low byte is used to store the index to a mapping entry in
  5. // the inverseData array.
  6. type elem uint16
  7. const (
  8. tagNeutral elem = iota << typeShift
  9. tagAmbiguous
  10. tagWide
  11. tagNarrow
  12. tagFullwidth
  13. tagHalfwidth
  14. )
  15. const (
  16. numTypeBits = 3
  17. typeShift = 16 - numTypeBits
  18. // tagNeedsFold is true for all fullwidth and halfwidth runes except for
  19. // the Won sign U+20A9.
  20. tagNeedsFold = 0x1000
  21. // The Korean Won sign is halfwidth, but SHOULD NOT be mapped to a wide
  22. // variant.
  23. wonSign rune = 0x20A9
  24. )