Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CompactIndex (0.11 sec)

  1. src/cmd/vendor/golang.org/x/text/internal/language/compact/language.go

    // and unit preferences.
    //
    // For instance, the tag en-GB-u-rg-uszzzz specifies British English with US
    // settings for currency, number formatting, etc. The CompactIndex for this tag
    // will be that for en-GB, while the RegionalID will be the one corresponding to
    // en-US.
    func RegionalID(t Tag) (id ID, exact bool) {
    	return t.locale, t.full == nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/language/language.go

    	return makeTag(tt), err
    }
    
    // NumCompactTags is the number of compact tags. The maximum tag is
    // NumCompactTags-1.
    const NumCompactTags = compact.NumCompactTags
    
    // CompactIndex returns an index, where 0 <= index < NumCompactTags, for tags
    // for which data exists in the text repository.The index will change over time
    // and should not be stored in persistent storage. If t does not match a compact
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top