kubernetes/vendor/golang.org/x/text/unicode/norm/trie.go

type valueRange

type sparseBlocks

var nfcSparse

var nfkcSparse

var nfcData

var nfkcData

// lookup determines the type of block n and looks up the value for b.
// For n < t.cutoff, the block is a simple lookup table. Otherwise, the block
// is a list of ranges with an accompanying value. Given a matching range r,
// the value for b is by r.value + (b - r.lo) * stride.
func (t *sparseBlocks) lookup(n uint32, b byte) uint16 {}