- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 628 for June (0.04 sec)
-
src/cmd/vendor/golang.org/x/text/unicode/norm/forminfo.go
func (p Properties) CCC() uint8 { if p.index >= firstCCCZeroExcept { return 0 } return ccc[p.ccc] } // LeadCCC returns the CCC of the first rune in the decomposition. // If there is no decomposition, LeadCCC equals CCC. func (p Properties) LeadCCC() uint8 { return ccc[p.ccc] } // TrailCCC returns the CCC of the last rune in the decomposition.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 8.7K bytes - Viewed (0) -
src/unicode/graphic_test.go
func TestIsControlLatin1(t *testing.T) { for i := rune(0); i <= MaxLatin1; i++ { got := IsControl(i) want := false switch { case 0x00 <= i && i <= 0x1F: want = true case 0x7F <= i && i <= 0x9F: want = true } if got != want { t.Errorf("%U incorrect: got %t; want %t", i, got, want) } } } func TestIsLetterLatin1(t *testing.T) { for i := rune(0); i <= MaxLatin1; i++ { got := IsLetter(i)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 2.6K bytes - Viewed (0) -
src/syscall/wtf8_windows.go
func decodeWTF16(s []uint16, buf []byte) []byte { for i := 0; i < len(s); i++ { var ar rune switch r := s[i]; { case r < surr1, surr3 <= r: // normal rune ar = rune(r) case surr1 <= r && r < surr2 && i+1 < len(s) && surr2 <= s[i+1] && s[i+1] < surr3: // valid surrogate sequence ar = utf16.DecodeRune(rune(r), rune(s[i+1])) i++ default: // WTF-8 fallback.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 09:26:16 UTC 2023 - 2.7K 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) -
src/unicode/graphic.go
} return isExcludingLatin(Letter, r) } // IsMark reports whether the rune is a mark character (category [M]). func IsMark(r rune) bool { // There are no mark characters in Latin-1. return isExcludingLatin(Mark, r) } // IsNumber reports whether the rune is a number (category [N]). func IsNumber(r rune) bool { if uint32(r) <= MaxLatin1 { return properties[uint8(r)]&pN != 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 20:02:46 UTC 2023 - 4.4K bytes - Viewed (0) -
src/strconv/quote_test.go
{string(rune(14)), false}, {string(rune(15)), false}, {string(rune(16)), false}, {string(rune(17)), false}, {string(rune(18)), false}, {string(rune(19)), false}, {string(rune(20)), false}, {string(rune(21)), false}, {string(rune(22)), false}, {string(rune(23)), false}, {string(rune(24)), false}, {string(rune(25)), false}, {string(rune(26)), false}, {string(rune(27)), false}, {string(rune(28)), false},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 9.6K bytes - Viewed (0) -
test/typeparam/issue48198.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 372 bytes - Viewed (0) -
src/strconv/quote.go
} func appendQuotedRuneWith(buf []byte, r rune, quote byte, ASCIIonly, graphicOnly bool) []byte { buf = append(buf, quote) if !utf8.ValidRune(r) { r = utf8.RuneError } buf = appendEscapedRune(buf, r, quote, ASCIIonly, graphicOnly) buf = append(buf, quote) return buf } func appendEscapedRune(buf []byte, r rune, quote byte, ASCIIonly, graphicOnly bool) []byte { if r == rune(quote) || r == '\\' { // always backslashed
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:28 UTC 2024 - 16.5K bytes - Viewed (0) -
src/regexp/syntax/parse.go
p.numRunes += len(re.Rune) if re.Op == OpCharClass && len(re.Rune) == 2 && re.Rune[0] == re.Rune[1] { // Single rune. if p.maybeConcat(re.Rune[0], p.flags&^FoldCase) { return nil } re.Op = OpLiteral re.Rune = re.Rune[:1] re.Flags = p.flags &^ FoldCase } else if re.Op == OpCharClass && len(re.Rune) == 4 && re.Rune[0] == re.Rune[1] && re.Rune[2] == re.Rune[3] &&
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 13:59:01 UTC 2024 - 52.1K bytes - Viewed (0) -
src/runtime/utf8.go
func countrunes(s string) int { n := 0 for range s { n++ } return n } // decoderune returns the non-ASCII rune at the start of // s[k:] and the index after the rune in s. // // decoderune assumes that caller has checked that // the to be decoded rune is a non-ASCII rune. // // If the string appears to be incomplete or decoding problems // are encountered (runeerror, k + 1) is returned to ensure
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 06 02:46:02 UTC 2020 - 3.4K bytes - Viewed (0)