Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for rune1 (0.41 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. src/cmd/vendor/golang.org/x/text/unicode/norm/tables12.0.0.go

    			return 0, 3 // Illegal UTF-8: not a continuation byte.
    		}
    		return t.lookupValue(uint32(i), c3), 4
    	}
    	// Illegal rune
    	return 0, 1
    }
    
    // lookupUnsafe returns the trie value for the first UTF-8 encoding in s.
    // s must start with a full and valid UTF-8 encoded rune.
    func (t *nfcTrie) lookupUnsafe(s []byte) uint16 {
    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return nfcValues[c0]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 376.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/unicode/norm/tables9.0.0.go

    			return 0, 3 // Illegal UTF-8: not a continuation byte.
    		}
    		return t.lookupValue(uint32(i), c3), 4
    	}
    	// Illegal rune
    	return 0, 1
    }
    
    // lookupUnsafe returns the trie value for the first UTF-8 encoding in s.
    // s must start with a full and valid UTF-8 encoded rune.
    func (t *nfcTrie) lookupUnsafe(s []byte) uint16 {
    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return nfcValues[c0]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 372.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/unicode/norm/tables11.0.0.go

    			return 0, 3 // Illegal UTF-8: not a continuation byte.
    		}
    		return t.lookupValue(uint32(i), c3), 4
    	}
    	// Illegal rune
    	return 0, 1
    }
    
    // lookupUnsafe returns the trie value for the first UTF-8 encoding in s.
    // s must start with a full and valid UTF-8 encoded rune.
    func (t *nfcTrie) lookupUnsafe(s []byte) uint16 {
    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return nfcValues[c0]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 376.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/unicode/norm/tables13.0.0.go

    			return 0, 3 // Illegal UTF-8: not a continuation byte.
    		}
    		return t.lookupValue(uint32(i), c3), 4
    	}
    	// Illegal rune
    	return 0, 1
    }
    
    // lookupUnsafe returns the trie value for the first UTF-8 encoding in s.
    // s must start with a full and valid UTF-8 encoded rune.
    func (t *nfcTrie) lookupUnsafe(s []byte) uint16 {
    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return nfcValues[c0]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 378.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/unicode/norm/tables15.0.0.go

    			return 0, 3 // Illegal UTF-8: not a continuation byte.
    		}
    		return t.lookupValue(uint32(i), c3), 4
    	}
    	// Illegal rune
    	return 0, 1
    }
    
    // lookupUnsafe returns the trie value for the first UTF-8 encoding in s.
    // s must start with a full and valid UTF-8 encoded rune.
    func (t *nfcTrie) lookupUnsafe(s []byte) uint16 {
    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return nfcValues[c0]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 385.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/unicode/norm/tables10.0.0.go

    			return 0, 3 // Illegal UTF-8: not a continuation byte.
    		}
    		return t.lookupValue(uint32(i), c3), 4
    	}
    	// Illegal rune
    	return 0, 1
    }
    
    // lookupUnsafe returns the trie value for the first UTF-8 encoding in s.
    // s must start with a full and valid UTF-8 encoded rune.
    func (t *nfcTrie) lookupUnsafe(s []byte) uint16 {
    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return nfcValues[c0]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 374.3K bytes
    - Viewed (0)
  8. 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