- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for runExe (0.12 sec)
-
src/unicode/utf16/utf16.go
} return replacementChar } // EncodeRune returns the UTF-16 surrogate pair r1, r2 for the given rune. // If the rune is not a valid Unicode code point or does not need encoding, // EncodeRune returns U+FFFD, U+FFFD. func EncodeRune(r rune) (r1, r2 rune) { if r < surrSelf || r > maxRune { return replacementChar, replacementChar } r -= surrSelf return surr1 + (r>>10)&0x3ff, surr2 + r&0x3ff }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:48 UTC 2024 - 3.9K bytes - Viewed (0) -
src/internal/fuzz/encoding_test.go
} func FuzzRuneRoundTrip(f *testing.F) { f.Add(rune(-1)) f.Add(rune(0xd800)) f.Add(rune(0xdfff)) f.Add(rune(unicode.ReplacementChar)) f.Add(rune(unicode.MaxASCII)) f.Add(rune(unicode.MaxLatin1)) f.Add(rune(unicode.MaxRune)) f.Add(rune(unicode.MaxRune + 1)) f.Add(rune(-0x80000000)) f.Add(rune(0x7fffffff)) f.Fuzz(func(t *testing.T, r1 rune) { b := marshalCorpusFile(r1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 00:20:34 UTC 2024 - 8.2K bytes - Viewed (0) -
src/unicode/utf16/utf16_test.go
} } type decodeTest struct { in []uint16 out []rune } var decodeTests = []decodeTest{ {[]uint16{1, 2, 3, 4}, []rune{1, 2, 3, 4}}, {[]uint16{0xffff, 0xd800, 0xdc00, 0xd800, 0xdc01, 0xd808, 0xdf45, 0xdbff, 0xdfff}, []rune{0xffff, 0x10000, 0x10001, 0x12345, 0x10ffff}}, {[]uint16{0xd800, 'a'}, []rune{0xfffd, 'a'}}, {[]uint16{0xdfff}, []rune{0xfffd}}, } func TestAllocationsDecode(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:48 UTC 2024 - 6.5K bytes - Viewed (0) -
src/regexp/onepass_test.go
[]rune{69, 69}, []rune{69, 69}, []rune{}, []uint32{mergeFailed}, 1, 2, }, { // append right-first []rune{69, 69}, []rune{71, 71}, []rune{69, 69, 71, 71}, []uint32{1, 2}, 1, 2, }, { // append, left-first []rune{71, 71}, []rune{69, 69}, []rune{69, 69, 71, 71}, []uint32{2, 1}, 1, 2, }, { // successful interleave []rune{60, 60, 71, 71, 101, 101},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:36:03 UTC 2024 - 4.6K bytes - Viewed (0) -
src/regexp/syntax/perl_groups.go
0x30, 0x39, } var code10 = []rune{ /* [:graph:] */ 0x21, 0x7e, } var code11 = []rune{ /* [:lower:] */ 0x61, 0x7a, } var code12 = []rune{ /* [:print:] */ 0x20, 0x7e, } var code13 = []rune{ /* [:punct:] */ 0x21, 0x2f, 0x3a, 0x40, 0x5b, 0x60, 0x7b, 0x7e, } var code14 = []rune{ /* [:space:] */ 0x9, 0xd, 0x20, 0x20, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 13:59:01 UTC 2024 - 2.3K bytes - Viewed (0) -
src/regexp/syntax/prog.go
func (i *Inst) MatchRunePos(r rune) int { rune := i.Rune switch len(rune) { case 0: return noMatch case 1: // Special case: single-rune slice is from literal string, not char class. r0 := rune[0] if r == r0 { return 0 } if Flags(i.Arg)&FoldCase != 0 { for r1 := unicode.SimpleFold(r0); r1 != r0; r1 = unicode.SimpleFold(r1) { if r == r1 { return 0 } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:50:01 UTC 2024 - 7.7K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/unicode/utf16/44940.md
The [RuneLen] function returns the number of 16-bit words in the UTF-16 encoding of the rune. It returns -1 if the rune
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 20:57:18 UTC 2024 - 162 bytes - Viewed (0) -
src/strconv/makeisprint.go
if i >= len(rang) || rr < rang[i&^1] || rang[i|1] < rr { return false } _, found := slices.BinarySearch(except, rr) return !found } func scan(min, max rune) (rang, except []uint32) { lo := rune(-1) for i := min; ; i++ { if (i > max || !unicode.IsPrint(i)) && lo >= 0 { // End range, but avoid flip flop. if i+1 <= max && unicode.IsPrint(i+1) { except = append(except, uint32(i))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 18:56:17 UTC 2024 - 4.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go
switch u.Kind() { case types.Byte, types.Rune, types.UntypedRune: continue } V0 = vt break } } if V0 == nil { // No source types are non-byte or rune integer types. return } convertibleToRune := true // if true, we can suggest a fix for _, t := range vtypes { if !types.ConvertibleTo(t, types.Typ[types.Rune]) { convertibleToRune = false break
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 5.2K bytes - Viewed (0) -
internal/s3select/csv/reader.go
ret := csv.NewReader(r) ret.Comma = []rune(args.FieldDelimiter)[0] ret.Comment = []rune(args.CommentCharacter)[0] ret.Quote = []rune{} if len([]rune(args.QuoteCharacter)) > 0 { // Add the first rune of args.QuoteCharacter ret.Quote = append(ret.Quote, []rune(args.QuoteCharacter)[0]) } ret.QuoteEscape = []rune(args.QuoteEscapeCharacter)[0] ret.FieldsPerRecord = -1
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 8.9K bytes - Viewed (0)