- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for runExe (0.13 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/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) -
src/bytes/bytes_test.go
} // 5. Drop dropNotLatin := func(r rune) rune { if unicode.Is(unicode.Latin, r) { return r } return -1 } m = Map(dropNotLatin, []byte("Hello, 세계")) expect = "Hello" if string(m) != expect { t.Errorf("drop: expected %q got %q", expect, m) } // 6. Invalid rune invalidRune := func(r rune) rune { return utf8.MaxRune + 1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 56.5K bytes - Viewed (0) -
src/cmd/dist/test.go
rebuild bool failed bool keepGoing bool compileOnly bool // just try to compile all tests, but no need to run runRxStr string runRx *regexp.Regexp runRxWant bool // want runRx to match (true) or not match (false) runNames []string // tests to run, exclusive with runRx; empty means all banner string // prefix, or "" for none lastHeading string // last dir heading printed short bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0) -
src/fmt/fmt_test.go
{"%+q", "\U0010ffff", `"\U0010ffff"`}, {"%#q", "\U0010ffff", "``"}, {"%#+q", "\U0010ffff", "``"}, // Runes that are not valid. {"%q", string(rune(0x110000)), `"�"`}, {"%+q", string(rune(0x110000)), `"\ufffd"`}, {"%#q", string(rune(0x110000)), "`�`"}, {"%#+q", string(rune(0x110000)), "`�`"}, // characters {"%c", uint('x'), "x"}, {"%c", 0xe4, "ä"}, {"%c", 0x672c, "本"}, {"%c", '日', "日"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:55 UTC 2024 - 58.6K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
var args []string arg := make([]rune, len(s)) escaped := false quoted := false quote := '\x00' i := 0 for _, rune := range s { switch { case escaped: escaped = false case rune == '\\': escaped = true continue case quote != '\x00': if rune == quote { quote = '\x00' continue } case rune == '"' || rune == '\'': quoted = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
{`package c1b; var _ = int(0)`, `int(0)`, `int`, `0`}, {`package c1c; type T int; var _ = T(0)`, `T(0)`, `c1c.T`, `0`}, {`package c2a; var _ = rune('A')`, `'A'`, `rune`, `65`}, {`package c2b; var _ = rune('A')`, `rune('A')`, `rune`, `65`}, {`package c2c; type T rune; var _ = T('A')`, `T('A')`, `c2c.T`, `65`}, {`package c3a; var _ = float32(0.)`, `0.`, `float32`, `0`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/go/types/api_test.go
{`package c1b; var _ = int(0)`, `int(0)`, `int`, `0`}, {`package c1c; type T int; var _ = T(0)`, `T(0)`, `c1c.T`, `0`}, {`package c2a; var _ = rune('A')`, `'A'`, `rune`, `65`}, {`package c2b; var _ = rune('A')`, `rune('A')`, `rune`, `65`}, {`package c2c; type T rune; var _ = T('A')`, `T('A')`, `c2c.T`, `65`}, {`package c3a; var _ = float32(0.)`, `0.`, `float32`, `0`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0) -
src/go/build/build.go
var args []string arg := make([]rune, len(s)) escaped := false quoted := false quote := '\x00' i := 0 for _, rune := range s { switch { case escaped: escaped = false case rune == '\\': escaped = true continue case quote != '\x00': if rune == quote { quote = '\x00' continue } case rune == '"' || rune == '\'': quoted = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
return fmt.Sprintf("%v", padding) } article := "a" if isVowel(rune(noun[0])) { article = "an" } return fmt.Sprintf("%s%s%s", padding, article, padding) } // isVowel returns true if the rune is a vowel (case insensitive). func isVowel(c rune) bool { vowels := []rune{'a', 'e', 'i', 'o', 'u'} for _, value := range vowels { if value == unicode.ToLower(c) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 51.5K bytes - Viewed (0)