Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 76 for runExe (0.21 sec)

  1. 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)
  2. src/cmd/vendor/rsc.io/markdown/inline.go

    	}
    
    	return &emphPlain{Plain: Plain{s[i:j]}, canOpen: canOpen, canClose: canClose, n: j - i}, i, j, true
    }
    
    func isUnicodeSpace(r rune) bool {
    	if r < 0x80 {
    		return r == ' ' || r == '\t' || r == '\f' || r == '\n'
    	}
    	return unicode.In(r, unicode.Zs)
    }
    
    func isUnicodePunct(r rune) bool {
    	if r < 0x80 {
    		return isPunct(byte(r))
    	}
    	return unicode.In(r, unicode.Punct)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. src/encoding/json/decode.go

    		}
    		return n
    	}
    }
    
    // getu4 decodes \uXXXX from the beginning of s, returning the hex value,
    // or it returns -1.
    func getu4(s []byte) rune {
    	if len(s) < 6 || s[0] != '\\' || s[1] != 'u' {
    		return -1
    	}
    	var r rune
    	for _, c := range s[2:6] {
    		switch {
    		case '0' <= c && c <= '9':
    			c = c - '0'
    		case 'a' <= c && c <= 'f':
    			c = c - 'a' + 10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  4. doc/go_spec.html

    a string that is the concatenation of the individual rune values
    converted to strings.
    
    <pre>
    string([]rune{0x767d, 0x9d6c, 0x7fd4})   // "\u767d\u9d6c\u7fd4" == "白鵬翔"
    string([]rune{})                         // ""
    string([]rune(nil))                      // ""
    
    type runes []rune
    string(runes{0x767d, 0x9d6c, 0x7fd4})    // "\u767d\u9d6c\u7fd4" == "白鵬翔"
    
    type myRune rune
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  5. src/reflect/value.go

    func cvtIntString(v Value, t Type) Value {
    	s := "\uFFFD"
    	if x := v.Int(); int64(rune(x)) == x {
    		s = string(rune(x))
    	}
    	return makeString(v.flag.ro(), s, t)
    }
    
    // convertOp: uintXX -> string
    func cvtUintString(v Value, t Type) Value {
    	s := "\uFFFD"
    	if x := v.Uint(); uint64(rune(x)) == x {
    		s = string(rune(x))
    	}
    	return makeString(v.flag.ro(), s, t)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/net/http/httpguts/httplex.go

    	'q':  true,
    	'r':  true,
    	's':  true,
    	't':  true,
    	'u':  true,
    	'v':  true,
    	'w':  true,
    	'x':  true,
    	'y':  true,
    	'z':  true,
    	'|':  true,
    	'~':  true,
    }
    
    func IsTokenRune(r rune) bool {
    	return r < utf8.RuneSelf && isTokenTable[byte(r)]
    }
    
    // HeaderValuesContainsToken reports whether any string in values
    // contains the provided token, ASCII case-insensitively.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. src/testing/fstest/testfs.go

    		return
    	}
    
    	// Make a complex glob pattern prefix that only matches dir.
    	var glob string
    	if dir != "." {
    		elem := strings.Split(dir, "/")
    		for i, e := range elem {
    			var pattern []rune
    			for j, r := range e {
    				if r == '*' || r == '?' || r == '\\' || r == '[' || r == '-' {
    					pattern = append(pattern, '\\', r)
    					continue
    				}
    				switch (i + j) % 5 {
    				case 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. istioctl/cmd/root.go

    func seeExperimentalCmd(name string) *cobra.Command {
    	msg := fmt.Sprintf("(%s is experimental. Use `istioctl experimental %s`)", name, name)
    	return &cobra.Command{
    		Use:   name,
    		Short: msg,
    		RunE: func(_ *cobra.Command, _ []string) error {
    			return errors.New(msg)
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ir/func.go

    	}
    
    	return pkg, sym, nil
    }
    
    // Borrowed from x/mod.
    func modPathOK(r rune) bool {
    	if r < utf8.RuneSelf {
    		return r == '-' || r == '.' || r == '_' || r == '~' ||
    			'0' <= r && r <= '9' ||
    			'A' <= r && r <= 'Z' ||
    			'a' <= r && r <= 'z'
    	}
    	return false
    }
    
    func escapedImportPathOK(r rune) bool {
    	return modPathOK(r) || r == '+' || r == '/' || r == '%'
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. cmd/kubemark/app/hollow_node.go

    	s := &hollowNodeConfig{
    		NodeLabels:        make(map[string]string),
    		ExtendedResources: make(map[string]string),
    	}
    
    	cmd := &cobra.Command{
    		Use:  "kubemark",
    		Long: "kubemark",
    		RunE: func(cmd *cobra.Command, args []string) error {
    			verflag.PrintAndExitIfRequested()
    			cliflag.PrintFlags(cmd.Flags())
    			return run(cmd.Context(), s)
    		},
    		Args: func(cmd *cobra.Command, args []string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top