- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 505 for runExe (0.14 sec)
-
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) -
src/internal/types/testdata/fixedbugs/issue58671.go
package p func g[P any](...P) P { var x P; return x } func _() { var ( _ int = g(1, 2) _ rune = g(1, 'a') _ float64 = g(1, 'a', 2.3) _ float64 = g('a', 2.3) _ complex128 = g(2.3, 'a', 1i) ) g(true, 'a' /* ERROR "mismatched types untyped bool and untyped rune (cannot infer P)" */) g(1, "foo" /* ERROR "mismatched types untyped int and untyped string (cannot infer P)" */)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:56:58 UTC 2023 - 668 bytes - Viewed (0) -
tools/bug-report/pkg/util/path/path.go
func (p Path) String() string { return strings.Join(p, pathSeparator) } // splitEscaped splits a string using the rune r as a separator. It does not split on r if it's prefixed by \. func splitEscaped(s string, r rune) []string { var prev rune if len(s) == 0 { return []string{} } prevIdx := 0 var out []string for i, c := range s { if c == r && (i == 0 || (i > 0 && prev != '\\')) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Sep 01 20:55:53 UTC 2020 - 2.2K bytes - Viewed (0) -
src/html/escape.go
c = s[i] i++ if hex { if '0' <= c && c <= '9' { x = 16*x + rune(c) - '0' continue } else if 'a' <= c && c <= 'f' { x = 16*x + rune(c) - 'a' + 10 continue } else if 'A' <= c && c <= 'F' { x = 16*x + rune(c) - 'A' + 10 continue } } else if '0' <= c && c <= '9' { x = 10*x + rune(c) - '0' continue } if c != ';' { i-- } break
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 13 07:00:18 UTC 2020 - 5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/cases/map.go
// A mapFunc takes a context set to the current rune and writes the mapped // version to the same context. It may advance the context to the next rune. It // returns whether a checkpoint is possible: whether the pDst bytes written to // dst so far won't need changing as we see more source bytes. type mapFunc func(*context) bool // A spanFunc takes a context set to the current rune and returns whether this
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 22.7K bytes - Viewed (0) -
src/strings/strings.go
// the closure once per rune. prev := ' ' return Map( func(r rune) rune { if isSeparator(prev) { prev = r return unicode.ToTitle(r) } prev = r return r }, s) } // TrimLeftFunc returns a slice of the string s with all leading // Unicode code points c satisfying f(c) removed. func TrimLeftFunc(s string, f func(rune) bool) string { i := indexFunc(s, f, false)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:48:16 UTC 2024 - 31.2K bytes - Viewed (0) -
test/convlit.go
// explicit conversion of string is okay var _ = []rune("abc") var _ = []byte("abc") // implicit is not var _ []int = "abc" // ERROR "cannot use|incompatible|invalid|cannot convert" var _ []byte = "abc" // ERROR "cannot use|incompatible|invalid|cannot convert" // named string is okay type Tstring string var ss Tstring = "abc" var _ = []rune(ss) var _ = []byte(ss) // implicit is still not
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 23 05:11:09 UTC 2021 - 2.4K bytes - Viewed (0) -
src/unicode/digit.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package unicode // IsDigit reports whether the rune is a decimal digit. func IsDigit(r rune) bool { if r <= MaxLatin1 { return '0' <= r && r <= '9' } return isExcludingLatin(Digit, r)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 352 bytes - Viewed (0) -
src/vendor/golang.org/x/net/idna/trieval.go
// info holds information from the IDNA mapping table for a single rune. It is // the value returned by a trie lookup. In most cases, all information fits in // a 16-bit value. For mappings, this value may contain an index into a slice // with the mapped string. Such mappings can consist of the actual mapped value // or an XOR pattern to be applied to the bytes of the UTF8 encoding of the // input rune. This technique is used by the cases packages and reduces the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 04:45:15 UTC 2022 - 3K bytes - Viewed (0)