Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for rune1 (0.09 sec)

  1. doc/go_spec.html

    </li>
    
    <li>
    Converting a slice of runes to a string type yields
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  2. pkg/proxy/iptables/proxier_test.go

    // based on the service name in their comment. (If either rule has no comment then the
    // return value is undefined.)
    func orderByCommentServiceName(rule1, rule2 *iptablestest.Rule) bool {
    	if rule1.Comment == nil || rule2.Comment == nil {
    		return false
    	}
    	name1, name2 := rule1.Comment.Value, rule2.Comment.Value
    
    	// The service name is the comment up to the first space or colon
    	i := strings.IndexAny(name1, " :")
    	if i != -1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
Back to top