Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for rune1 (0.38 sec)

  1. src/reflect/all_test.go

    	{V([]byte("bytes2")), V(MyString("bytes2"))},
    	{V([]byte("bytes3")), V([]byte("bytes3"))},
    	{V(MyString("runes♝")), V([]rune("runes♝"))},
    	{V([]rune("runes♕")), V(MyString("runes♕"))},
    	{V([]rune("runes🙈🙉🙊")), V([]rune("runes🙈🙉🙊"))},
    	{V([]rune("runes🙈🙉🙊")), V(MyRunes("runes🙈🙉🙊"))},
    	{V(MyRunes("runes🙈🙉🙊")), V([]rune("runes🙈🙉🙊"))},
    	{V(int('a')), V(MyString("a"))},
    	{V(int8('a')), V(MyString("a"))},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  2. src/reflect/value.go

    }
    
    // runes returns v's underlying value.
    // It panics if v's underlying value is not a slice of runes (int32s).
    func (v Value) runes() []rune {
    	v.mustBe(Slice)
    	if v.typ().Elem().Kind() != abi.Int32 {
    		panic("reflect.Value.Bytes of non-rune slice")
    	}
    	// Slice is always bigger than a word; assume flagIndir.
    	return *(*[]rune)(v.ptr)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    </pre>
    </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 MyRunes []rune
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  4. src/html/entity.go

    // http://www.w3.org/TR/html4/sgml/entities.html
    var entity map[string]rune
    
    // HTML entities that are two unicode codepoints.
    var entity2 map[string][2]rune
    
    // populateMapsOnce guards calling populateMaps.
    var populateMapsOnce sync.Once
    
    // populateMaps populates entity and entity2.
    func populateMaps() {
    	entity = map[string]rune{
    		"AElig;":                           '\U000000C6',
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 31 22:10:54 UTC 2018
    - 114.3K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/text/unicode/bidi/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 *bidiTrie) lookupUnsafe(s []byte) uint8 {
    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return bidiValues[c0]
    	}
    	i := bidiIndex[c0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 110.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/cases/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 *caseTrie) lookupUnsafe(s []byte) uint16 {
    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return caseValues[c0]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 100.7K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/text/unicode/bidi/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 *bidiTrie) lookupUnsafe(s []byte) uint8 {
    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return bidiValues[c0]
    	}
    	i := bidiIndex[c0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 116.6K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/text/unicode/bidi/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 *bidiTrie) lookupUnsafe(s []byte) uint8 {
    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return bidiValues[c0]
    	}
    	i := bidiIndex[c0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 120.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/cases/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 *caseTrie) lookupUnsafe(s []byte) uint16 {
    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return caseValues[c0]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 99.2K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/text/unicode/bidi/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 *bidiTrie) lookupUnsafe(s []byte) uint8 {
    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return bidiValues[c0]
    	}
    	i := bidiIndex[c0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 109.2K bytes
    - Viewed (0)
Back to top