- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 505 for runExe (0.18 sec)
-
src/regexp/syntax/compile.go
c.inst(InstFail) } var anyRuneNotNL = []rune{0, '\n' - 1, '\n' + 1, unicode.MaxRune} var anyRune = []rune{0, unicode.MaxRune} func (c *compiler) compile(re *Regexp) frag { switch re.Op { case OpNoMatch: return c.fail() case OpEmptyMatch: return c.nop() case OpLiteral: if len(re.Rune) == 0 { return c.nop() } var f frag for j := range re.Rune { f1 := c.rune(re.Rune[j:j+1], re.Flags)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 13 14:52:20 UTC 2021 - 6.8K bytes - Viewed (0) -
pkg/kubelet/cm/util/cdi/cdi.go
c, name) } } if !isAlphaNumeric(rune(name[len(name)-1])) { return fmt.Errorf("invalid name %q, should end with a letter or digit", name) } return nil } func isLetter(c rune) bool { return ('A' <= c && c <= 'Z') || ('a' <= c && c <= 'z') } func isDigit(c rune) bool { return '0' <= c && c <= '9' } func isAlphaNumeric(c rune) bool { return isLetter(c) || isDigit(c)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 09:48:24 UTC 2023 - 9.5K bytes - Viewed (0) -
src/fmt/scan.go
// Scanners may do rune-at-a-time scanning or ask the ScanState // to discover the next space-delimited token. type ScanState interface { // ReadRune reads the next rune (Unicode code point) from the input. // If invoked during Scanln, Fscanln, or Sscanln, ReadRune() will // return EOF after returning the first '\n' or when reading beyond // the specified width. ReadRune() (r rune, size int, err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:56:20 UTC 2024 - 31.9K bytes - Viewed (0) -
src/text/scanner/scanner.go
} } return } func (s *Scanner) scanNumber(ch rune, seenDot bool) (rune, rune) { base := 10 // number base prefix := rune(0) // one of 0 (decimal), '0' (0-octal), 'x', 'o', or 'b' digsep := 0 // bit 0: digit present, bit 1: '_' present invalid := rune(0) // invalid digit in literal, or 0 // integer part var tok rune var ds int if !seenDot { tok = Int if ch == '0' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 20.3K bytes - Viewed (0) -
src/time/zoneinfo_plan9.go
) var platformZoneSources []string // none on Plan 9 func isSpace(r rune) bool { return r == ' ' || r == '\t' || r == '\n' } // Copied from strings to avoid a dependency. func fields(s string) []string { // First count the fields. n := 0 inField := false for _, rune := range s { wasInField := inField inField = !isSpace(rune) if inField && !wasInField { n++ } } // Now create them.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 16 23:09:19 UTC 2023 - 2.7K bytes - Viewed (0) -
src/strings/strings_test.go
{"x \xc0\xc0 ", "x \xc0\xc0"}, {"x ☺\xc0\xc0 ", "x ☺\xc0\xc0"}, {"x ☺ ", "x ☺"}, } func tenRunes(ch rune) string { r := make([]rune, 10) for i := range r { r[i] = ch } return string(r) } // User-defined self-inverse mapping function func rot13(r rune) rune { step := rune(13) if r >= 'a' && r <= 'z' { return ((r - 'a' + step) % 26) + 'a' } if r >= 'A' && r <= 'Z' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 53K bytes - Viewed (0) -
test/switch5.go
// written, not just their values. Particularly useful for runes. func f8(r rune) { const x = 10 switch r { case 33, 33: // ERROR "duplicate case (33 in switch)?" case 34, '"': // ERROR "duplicate case '"' .value 34. in switch" case 35, rune('#'): // ERROR "duplicate case (rune.'#'. .value 35. in switch)?" case 36, rune(36): // ERROR "duplicate case (rune.36. .value 36. in switch)?"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 14 21:28:48 UTC 2020 - 2.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/cases/context.go
atEOF bool pDst int // pDst points past the last written rune in dst. pSrc int // pSrc points to the start of the currently scanned rune. // checkpoints safe to return in Transform, where nDst <= pDst and nSrc <= pSrc. nDst, nSrc int err error sz int // size of current rune info info // case information of currently scanned rune // State preserved across calls to Transform.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 9.5K bytes - Viewed (0) -
src/mime/grammar.go
package mime import ( "strings" ) // isTSpecial reports whether rune is in 'tspecials' as defined by RFC // 1521 and RFC 2045. func isTSpecial(r rune) bool { return strings.ContainsRune(`()<>@,;:\"/[]?=`, r) } // isTokenChar reports whether rune is in 'token' as defined by RFC // 1521 and RFC 2045. func isTokenChar(r rune) bool { // token := 1*<any (US-ASCII) CHAR except SPACE, CTLs, // or tspecials>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 19 01:06:05 UTC 2016 - 828 bytes - Viewed (0) -
test/fixedbugs/issue56777.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 13:26:33 UTC 2022 - 928 bytes - Viewed (0)