- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for specialTags (0.2 sec)
-
src/cmd/vendor/golang.org/x/text/internal/language/compact/compact.go
func (id ID) Tag() language.Tag { if int(id) >= len(coreTags) { return specialTags[int(id)-len(coreTags)] } return coreTags[id].Tag() } var specialTags []language.Tag func init() { tags := strings.Split(specialTagsStr, " ") specialTags = make([]language.Tag, len(tags)) for i, t := range tags { specialTags[i] = language.MustParse(t) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 1.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/language/compact/language.go
t, _ = t.SetTypeForKey("va", variant) hasExtra = true } exact = old == t } else { exact = false } if hasExtra { // We have some variants. for i, s := range specialTags { if s == t { return ID(i + len(coreTags)), exact } } exact = false } } if x, ok := getCoreIndex(t); ok { return x, exact } exact = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 7.3K bytes - Viewed (0)