// lookupUnsafe returns the trie value for the first UTF-8 encoding in s.
// s must hold a full encoding.
lookupUnsafe returns the trie value for the first UTF-8 encoding in s.
s must hold a full encoding.
// lookupUnsafe returns the trie value for the first UTF - 8 encoding in s . // s must hold a full encoding .
func (t *trie) lookupUnsafe(s []byte) uint16 {
	c0 := s[0]
	if c0 < tx {
		return t.values[c0]
	}
	if c0 < t2 {
		return 0
	}
	i := t.index[c0]
	if c0 < t3 {
		return t.lookupValue(i, s[1])
	}
	i = t.index[uint16(i)<<6+uint16(s[1])&maskx]
	if c0 < t4 {
		return t.lookupValue(i, s[2])
	}
	i = t.index[uint16(i)<<6+uint16(s[2])&maskx]
	if c0 < t5 {
		return t.lookupValue(i, s[3])
	}
	return 0
}
func ( t * trie ) lookupUnsafe ( s [ ] byte ) uint16 { c0 := s [ 0 ] if c0 < tx { return t . values [ c0 ] } if c0 < t2 { return 0 } i := t . index [ c0 ] if c0 < t3 { return t . lookupValue ( i , s [ 1 ] ) } i = t . index [ uint16 ( i ) << 6 + uint16 ( s [ 1 ] ) & maskx ] if c0 < t4 { return t . lookupValue ( i , s [ 2 ] ) } i = t . index [ uint16 ( i ) << 6 + uint16 ( s [ 2 ] ) & maskx ] if c0 < t5 { return t . lookupValue ( i , s [ 3 ] ) } return 0 }
lookupUnsafe returns the trie value for the first UTF-8 encoding in s.
s must hold a full encoding.
lookupUnsafe returns the trie value for the first UTF - 8 encoding in s . s must hold a full encoding .