- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,592 for runUse (0.35 sec)
-
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/unicode/letter_test.go
var notletterTest = []rune{ 0x20, 0x35, 0x375, 0x619, 0x700, 0x1885, 0xfffe, 0x1ffff, 0x10ffff, } // Contains all the special cased Latin-1 chars. var spaceTest = []rune{ 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x20, 0x85, 0xA0, 0x2000, 0x3000, } type caseT struct { cas int in, out rune } var caseTest = []caseT{ // errors
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 09 01:46:03 UTC 2023 - 14.8K bytes - Viewed (0) -
src/strconv/makeisprint.go
fmt.Fprintf(&buf, "\t%#04x,\n", r-0x10000) } fmt.Fprintf(&buf, "}\n\n") // The list of graphic but not "printable" runes is short. Just make one easy table. fmt.Fprintf(&buf, "// isGraphic lists the graphic runes not matched by IsPrint.\n") fmt.Fprintf(&buf, "var isGraphic = []uint16{\n") for r := rune(0); r <= unicode.MaxRune; r++ { if unicode.IsPrint(r) != unicode.IsGraphic(r) { // Sanity check.
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/unicode/utf8/utf8_test.go
if n := runtimeRuneCount(ts); n != count { t.Errorf("%q: len([]rune()) counted %d runes; got %d from RuneCountInString", ts, n, count) break } runes := []rune(ts) if n := len(runes); n != count { t.Errorf("%q: []rune() has length %d; got %d from RuneCountInString", ts, n, count) break } i := 0 for _, r := range ts { if r != runes[i] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 06:17:15 UTC 2022 - 16.2K bytes - Viewed (0) -
src/unicode/utf8/utf8.go
return rune(p0&mask2)<<6 | rune(b1&maskx), 2 } b2 := p[2] if b2 < locb || hicb < b2 { return RuneError, 1 } if sz <= 3 { return rune(p0&mask3)<<12 | rune(b1&maskx)<<6 | rune(b2&maskx), 3 } b3 := p[3] if b3 < locb || hicb < b3 { return RuneError, 1 } return rune(p0&mask4)<<18 | rune(b1&maskx)<<12 | rune(b2&maskx)<<6 | rune(b3&maskx), 4 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 02:00:36 UTC 2024 - 16.4K bytes - Viewed (0) -
src/encoding/json/fold.go
} // Handle multi-byte Unicode. r, n := utf8.DecodeRune(in[i:]) out = utf8.AppendRune(out, foldRune(r)) i += n } return out } // foldRune is returns the smallest rune for all runes in the same fold set. func foldRune(r rune) rune { for { r2 := unicode.SimpleFold(r) if r2 <= r { return r2 } r = r2 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 27 17:37:27 UTC 2023 - 1.1K 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) -
pkg/kube/inject/testdata/inject/proxy-override-runas.yaml.injected
Jonh Wendell <******@****.***> 1715709579 -0400
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:59:39 UTC 2024 - 6.5K bytes - Viewed (0) -
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/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)