github.com/meulengracht/snapd@v0.0.0-20210719210640-8bde69bcc84e/strutil/ctrl16.go (about) 1 // +build !go1.7 2 3 package strutil 4 5 // This is a generated file, editing would be silly. 6 // Go edit github.com/chipaca/term/gen/merged_rangetable.go instead. 7 8 import "unicode" 9 10 // using golang.org/x/text/unicode/rangetable do 11 // rangetable.Merge(unicode.Co, unicode.Cf, unicode.Cs, unicode.Noncharacter_Code_Point) 12 // (we also care about unicode.Cc but that's handled by hand) 13 // this makes the lookup in escape quite a bit faster (over 5×) 14 var Ctrl = &unicode.RangeTable{ 15 R16: []unicode.Range16{ 16 {Lo: 0x00ad, Hi: 0x0600, Stride: 1363}, 17 {Lo: 0x0601, Hi: 0x0605, Stride: 1}, 18 {Lo: 0x061c, Hi: 0x06dd, Stride: 193}, 19 {Lo: 0x070f, Hi: 0x180e, Stride: 4351}, 20 {Lo: 0x200b, Hi: 0x200f, Stride: 1}, 21 {Lo: 0x202a, Hi: 0x202e, Stride: 1}, 22 {Lo: 0x2060, Hi: 0x2064, Stride: 1}, 23 {Lo: 0x2066, Hi: 0x206f, Stride: 1}, 24 {Lo: 0xd800, Hi: 0xf8ff, Stride: 1}, 25 {Lo: 0xfdd0, Hi: 0xfdef, Stride: 1}, 26 {Lo: 0xfeff, Hi: 0xfff9, Stride: 250}, 27 {Lo: 0xfffa, Hi: 0xfffb, Stride: 1}, 28 {Lo: 0xfffe, Hi: 0xffff, Stride: 1}, 29 }, 30 R32: []unicode.Range32{ 31 {Lo: 0x110bd, Hi: 0x1bca0, Stride: 44003}, 32 {Lo: 0x1bca1, Hi: 0x1bca3, Stride: 1}, 33 {Lo: 0x1d173, Hi: 0x1d17a, Stride: 1}, 34 {Lo: 0x1fffe, Hi: 0x1ffff, Stride: 1}, 35 {Lo: 0x2fffe, Hi: 0x2ffff, Stride: 1}, 36 {Lo: 0x3fffe, Hi: 0x3ffff, Stride: 1}, 37 {Lo: 0x4fffe, Hi: 0x4ffff, Stride: 1}, 38 {Lo: 0x5fffe, Hi: 0x5ffff, Stride: 1}, 39 {Lo: 0x6fffe, Hi: 0x6ffff, Stride: 1}, 40 {Lo: 0x7fffe, Hi: 0x7ffff, Stride: 1}, 41 {Lo: 0x8fffe, Hi: 0x8ffff, Stride: 1}, 42 {Lo: 0x9fffe, Hi: 0x9ffff, Stride: 1}, 43 {Lo: 0xafffe, Hi: 0xaffff, Stride: 1}, 44 {Lo: 0xbfffe, Hi: 0xbffff, Stride: 1}, 45 {Lo: 0xcfffe, Hi: 0xcffff, Stride: 1}, 46 {Lo: 0xdfffe, Hi: 0xdffff, Stride: 1}, 47 {Lo: 0xe0001, Hi: 0xe0020, Stride: 31}, 48 {Lo: 0xe0021, Hi: 0xe007f, Stride: 1}, 49 {Lo: 0xefffe, Hi: 0x10ffff, Stride: 1}, 50 }, 51 }